dariosalvi78 opened a new issue, #1744:
URL: https://github.com/apache/cordova-android/issues/1744

   # Bug Report
   
   ## Problem
   When compiling with version 13.0.0 gradle 8.7 is used, which requires Java 
version 22 (see 
[table](https://docs.gradle.org/current/userguide/compatibility.html#java)), 
but java 22 is not maintained and not retrivable, for example, with brew.
   
   Suggestion: update to gradle 8.10.
   
   ### What is expected to happen?
   Compilation of an Android app should work.
   
   
   ### What does actually happen?
   
   Compilation fails with a: Unsupported class file major version 67
   I suppose that gradle doesn't even run
   
   ## Information
   Try to compile a cordova Android app with JDK other than 22, gradle doesn't 
support it.
   Updating the version of gradle to 8.10 would allow Java v 23.
   
   ### Command or Code
   cordova build android
   
   ### Environment, Platform, Device
   Compiled on Mac, platform: Android
   
   
   ### Version information
   Android cordova: 13.0.0
   Cordova CLI: 12.0.0
   Java: open JDK 23.0.1
   
   
   
   ## Checklist
   
   - [X] I searched for existing GitHub issues
   - [X] I updated all Cordova tooling to most recent version
   - [X] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to