-
Notifications
You must be signed in to change notification settings - Fork 35
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
build error: Unknown Kotlin JVM target: 21 #697
Comments
please set this code |
Same problem here |
were you able to fix this issue? |
this is how i fix it to change its
and also match it with the " |
oh alright thanks @farinchan |
@sobuur0 What package are you using? Does it work on iOS devices? |
@Miko2x sadly no they only support Android. |
No one uses this library, or what is the problem with downgrading the version in the build? The solution is trivial, I do not understand why it is who put such versions. Gradle 8.4 is the latest one that has been tested with Android. Why is there code in the library that a priori cannot work in Flutter? Check @farinchan comment please or you need MR for java versions? |
@Sevastyan @MichalVacek @jnv please, can you help? |
Hey I am getting similar kind of build error when I run
I tried the VERSION_17 solution above but it didn't work. |
Pinging @witwash since he's a maintainer on this project. He will be back on January 8. |
@KonstantenKomkov, will #710 fix your issues? @alboiuvlad29, are you ok with downgrading Java? |
@witwash Hello, yes with that java version all work. |
@witwash Yes please. Please also check if it's still working with our internal apps. We have a higher Java version (back when I've bumped it I wasn't sure which would be the correct version flutter would use next) so it might make sense to downgrade. Didn't think it would cause problems considering it worked for our use case. |
kotlinOptions {
jvmTarget = JavaVersion.VERSION_21
}
The text was updated successfully, but these errors were encountered: