Skip to content
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

this error occurs while i run this code in android studio, even i switch java 11 it still shows this , how to solve this ? #9

Open
viveksingh77 opened this issue Feb 18, 2025 · 1 comment

Comments

@viveksingh77
Copy link

java.lang.IllegalAccessError: superclass access check failed: class org.jetbrains.kotlin.kapt3.base.javac.KaptJavaCompiler (in unnamed module @0x15188ce6) 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 @0x15188ce6

@sDevPrem
Copy link
Owner

Make the Gradle Java version (File> Settings > Build, Execution, Deployment > Build Tools > Gradle) to Java 17 or Lower (Java 11 and build it. Let me know if you face any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants