Flutter 2.8 Issue kotlin_module
See original GitHub issuePlugin Version
lastest
Steps to Reproduce (Flutter 2.8)
- Run
flutter create bug
.
logs
Launching lib\main.dart on Android SDK built for x86 in debug mode...
e: C:/Users/bharg/.gradle/caches/transforms-2/files-2.1/683fded33b117c0eb9bb9deabca1a71e/work-runtime-2.7.0-api.jar!/META-INF/work-runtime_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
> Compilation error. See log for more details
* 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 16s
[!] 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 C:\flutter-project\flutter-quotes\android\build.gradle:
ext.kotlin_version = '<latest-version>'
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
Issue Analytics
- State:
- Created 2 years ago
- Comments:11
Top Results From Across the Web
Upgraded to Flutter 3.0 from 2.8.1, getting: Warning: Operand ...
For the ones that have the same issue: changing my Kotlin version (manually), did the trick. Now, in build.gradle:
Read more >Flutter 2.8.0 release notes
This page has release notes for 2.8.0. For information about subsequent bug-fix releases, see Hotfixes to the Stable Channel.
Read more >What's New in Flutter 2.10. Windows stable, performance…
In the Flutter 2.8 release, we landed our own internal picture recording format. ... the Flutter tool now suggests resolution steps to common...
Read more >webview_flutter 2.8.0 | Flutter Package - Pub.dev
Add section to the wiki explaining how to use Material components. Update integration test to workaround an iOS 14 issue with evaluateJavascript ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My Issue solved thank for support @bhanuka96 @maheshmnj @elkhalifte
Got the same error and this is the error log
SOLUTION
Follow this instruction and make sure add a valid application id
https://googlemobileadssdk.page.link/ad-manager-android-update-manifest