Description:
Running ./gradlew assemble with Java 17 causes the build to fail during the Gradle configuration phase with the following error:
General error during semantic analysis: Unsupported class file major version 61
java.lang.IllegalArgumentException: Unsupported class file major version 61
Steps to Reproduce:
- Use Java 17 as the active JDK.
- Navigate to the
android/ directory.
- Run
./gradlew assemble.
Expected:
The project should build successfully.
Actual:
Build fails with a semantic analysis error due to unsupported class file version.
Let me know if you want to include system info or Gradle/AGP versions in the issue.