breautek commented on issue #1760:
URL: 
https://github.com/apache/cordova-android/issues/1760#issuecomment-2593349848

   > Like Cordova-Android 13? I don't remember having this way of working 
before.
   
   Cordova-android 12 and earlier did behave slightly different in that the 
gradle wrapper task was executed on the main android project, using the system 
gradle version. This means you'd need to install and upgrade your system gradle 
install to a version compatible by the AGP version being used. So if AGP 
required min 8.3 for example, you would need system gradle install at version 
8.3 at least, for cordova android to install it's desired wrapper.
   
   In cordova-android 13 using the dummy tools project, the gradle version 
installed on the system is much more flexible and isn't restricted to what AGP 
needs. The project can still install the correct wrapper version which is then 
used by the builds (which will also satisfy AGP requirements)
   
   > Second, I think the documentation here must be updated 
https://github.com/apache/cordova-android/blob/master/README.md
   
   Can you explain what part of the README should be updated?
   
   > Thrid, I have Iguana. Is it a reason Ladybug works?
   
https://developer.android.com/build/releases/gradle-plugin#android_gradle_plugin_and_android_studio_compatibility
   
   Iguana is definitely older. Cordova-android 13 is configured to use AGP 
8.3.0 by default. I also think Android Studio has an embedded gradle that it 
uses, which is likely 8.2 based on the error message. Iguana supports up to AGP 
8.3 but will probably require additional configurations to make it work.
   
   Ladybug is definitely recommended for Cordova-Android 13 though, as it was 
the version used for testing on Cordova Android 13 release. FWIW, setting up a 
new cordova android project and then opening it up in Android Studio Ladybug it 
builds without further action. My system gradle version is also 8.7.


-- 
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: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to