TiBz0u commented on issue #1760: URL: https://github.com/apache/cordova-android/issues/1760#issuecomment-2598594437
Hi @breautek , I always speak about Iguana. I have atm some security constraints to update Android Studio by myself on my current workstation. > 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: Even if open the project structure in `Android Studio` and choose 8.4, 8.7 or even 8.9, the IDE fails with the same error. <img width="945" alt="Image" src="https://github.com/user-attachments/assets/106fe982-ccfe-4609-b6af-bad630dadab7" /> ``` * What went wrong: A problem occurred evaluating project ':app'. > Failed to apply plugin 'com.android.internal.version-check'. > Minimum supported Gradle version is 8.4. Current version is 8.2. ``` Regarding your last message, it's quite funny because it was what I'm doing (manually) since I created this ticket to make it work for debugging purpose :) But for me, it was a "workaround" thinking I miss something else :) ``` cp -r tools/gradle ./ cp tools/gradlew* ./ ``` With those two commands, the `Sync With Gradle` button works directly. Meanwhile, I'll add a after_build hook for this copy. Thanks for the support and will try to be there the 31th Jan for the Cordova Meeting. -- 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]
