does android support java 21 already? I'm trying t...
# android
c
does android support java 21 already? I'm trying to migrate from java 17 to java 21. I'm facing a build error when running ./gradlew android:build
> Transform classes.jar (project :shared) with DexingNoClasspathTransform
ERRORmy-project\shared\build\intermediates\runtime_library_classes_jar\release\classes.jar: D8: java.lang.IllegalArgumentException: Unsupported class file major version 65
. It's mutli modules project, where android uses a shared module that compiles fine in isolation
not kotlin but kotlin colored 1
e
This is not Kotlin related, see the channel description
lol 1
Also I'm not sure what you're expecting given that Java 20 bytecode isn't supported either, https://issuetracker.google.com/issues/293630962
c
figured out it would make sense to ask that in an android channel for my kotlin based android project. Thanks for the heads up anyways