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
Unsupported class file major version 66 error. #2348
Comments
I have the same issue. |
hey! @avcismail Please follow these two steps, and let me know if you still encounter your issues.
|
@avcismail I came across this issue when looking at a build issue with an unrelated project. I'm not terribly well-versed in Gradle, but I think the issue is that the latest version of Gradle (8.7) does not support Java 22. When I switched to Java 21 the error went away and I was able to build the project that was problematic for me. |
|
@cacami6564844, java se 22 supports class 66, but according to this you cannot run gradle 8.7 with java se 22. |
Ask your Question
Hi,
I'm getting an error when extracting an APK from a react native project. I'm trying to create an APK with the .
/gradlew assembleDebug
command in the android folder, but I'm getting the following error.The text was updated successfully, but these errors were encountered: