breautek commented on issue #1760: URL: https://github.com/apache/cordova-android/issues/1760#issuecomment-2598492155
> For opening on Android Studio for debug purpose, only way for me is to add a Gradle Wrapper and I can click on the elephant icon (Sync Project with Gradle files). With Iguana or Ladybug? With Ladybug I can build and debug just fine, using a sample "HelloWorld" cordova application. I did not use any Cordova CLI commands other than to add the plaform.  The only time I'd have to sync with gradle is if there was an actual gradle file change while the IDE was opened. Now I am pretty sure when using the IDE, you end up using the embedded gradle runtime (e.g. you don't use the tools gradle wrapper stuff.) If you right click the android module and `Open Module Settings`. Project Structure dialog will open and under the Project menu I think you can change the Gradle Version that the IDE uses:  Which for me is Gradle 8.9 (gradle wrapper is actually configured to use 8.7 so I think that shows it's not using the "correct" gradle version) > AGP 8.3 requires Gradle 8.4 and Android tells me 8.2. Maybe that have Gradle included but potentially, not smart from Google to not include the right version :/ Yah you'd think they would just not declare Iguana as a supported IDE if Iguana ships/uses with Gradle 8.2, but I think perhaps using the Project Structure settings maybe you can select a newer gradle version. Ideally 8.7 but any version that is 8.4+ should work. > Side question I see normal that gradle cdvPrintProps fails? I'm not actually familiar with that gradle task. Good chance it's bugged but if it's failing gracefully and it's job is just to print stuff probably not a big deal. -- 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