-
Notifications
You must be signed in to change notification settings - Fork 182
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
Module was compiled with an incompatible version of Kotlin on Flutter 2.10.0 #38
Comments
@pinkfish Any update on this? |
Same issue =( |
Solved.... I just had to update the kotlin version in android studio. Tools -> Kotlin -> Configure Kotlin Plugin Updates |
@jeancc29 2 ( tools -> Kotlin -> Configure Kotlin Plugin Updates) which Kotlin version / channel are you using? I have the same error with the Kotlin stable channel / latest version : 211-1.6.10-release-923-AS7442.40 |
Any updates on this one? Updated to latest Kotlin (stable / 212-1.7.0-release-281-AS5457.46 and still hitting the same issue. This is a really big deal, can't compile the app with this package added. |
Figured it out - The plugin itself needs the Kotlin version updated. There's a PR for the fix, but these steps worked for me while we wait for an update: Clone package to your project (I created {root}/plugin for this purpose)
|
Hi @robjvan ,
|
I'm getting the following error:
C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_native_timezone-2.0.0\android\src\main\kotlin\com\whelksoft\flutter_native_timezone\FlutterNativeTimezonePlugin.kt: (22, 10): Class 'kotlin.jvm.JvmStatic' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
The class is loaded from C:/Users/USER/.gradle/caches/transforms-2/files-2.1/0abecf3832c202c9f5aa4402d080189c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/jvm/JvmStatic.class
The text was updated successfully, but these errors were encountered: