breautek commented on issue #594:
URL: 
https://github.com/apache/cordova-plugin-file/issues/594#issuecomment-1690342521

   > Note: When i am trying to build it with java 11 its working but we want it 
to make it work with JavaVersion.VERSION_1_8
   
   Android SDK that cordova-android@12 links against **requires** 11. Java 8 
will not work.
   
   Android Gradle Plugin is where the requirement comes from, and AGP 7 
requires Java 11. I believe AGP 7 is also required to compile for and target 
API 31+. Therefore downgrading to an AGP version that supports Java 8 will 
prevent you from targeting the API 33 requirement for google play deployments.
   
   In short, if you're deploying to Google Play, Java 11 is **required**.


-- 
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