You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running with Java 21 the KotlinKapt action fails with
exception: java.lang.IllegalAccessError: superclass access check failed: class org.jetbrains.kotlin.kapt3.base.javac.KaptJavaCompiler (in unnamed module @0x229fa008) cannot access class com.sun.tools.javac.main.JavaCompiler (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.main to unnamed module @0x229fa008
For now, the workaround is to add the following to the .bazelrc file
I have the same problem since this morning with Java 21, Gradle 8.7 and Kotlin 1.9.20
I searched for solutions and try to fix this issue on my computer.
Do you have a solution for Android Studio on Windows 11?
When running with Java 21 the KotlinKapt action fails with
For now, the workaround is to add the following to the
.bazelrc
filebut would be nice to add this flag to the jvm_opts for KotlinKapt
The text was updated successfully, but these errors were encountered: