-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android build fail (after upgrade flutter 2.10.3) #99
Comments
Hi @blueddarker , |
@yuhao900914 |
the same issue flutter 2.10.5 |
Hey there, One thing I can think, can you try to clean the cache and run the app again? |
I'm facing the same error:
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10" |
@yuhao900914 the version of the Kotlin Gradle plugin used in the library is '1.3.40'.
|
on iOS it's work but on Android I have this error during the build:
Execution failed for task ':amplitude_flutter:compileDebugKotlin'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 17s
Running Gradle task 'assembleDevDebug'... 18.4s
┌─ Flutter Fix ───────────────────────────────────────────────────────────────────────────────────────┐
│ [!] Your project requires a newer version of the Kotlin Gradle plugin. │
│ Find the latest version on https://kotlinlang.org/docs/gradle.html#plugin-and-versions, then update │
│ /Users/imsangcheol/Working/TripleComma/dev/goldspoon-app/android/build.gradle: │
│ ext.kotlin_version = '' │
└─────────────────────────────────────────────────────────────────────────────────────────────────────┘
Gradle task assembleDevDebug failed with exit code 1
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.1 21C52 darwin-arm, locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.65.0)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
Environment
The text was updated successfully, but these errors were encountered: