Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle version no longer supported #1572

Closed
jacobg opened this issue Mar 17, 2023 · 1 comment
Closed

Gradle version no longer supported #1572

jacobg opened this issue Mar 17, 2023 · 1 comment

Comments

@jacobg
Copy link

jacobg commented Mar 17, 2023

Both cordova build android and Android Studio fail to build on Gradle version 7.4.2:

Minimum supported Gradle version is 7.5. Current version is 7.4.2.

distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip

Please bump to 7.5 or higher.

Thanks.

@jacobg jacobg changed the title Bump gradle version Gradle version no longer supported Mar 17, 2023
@breautek
Copy link
Contributor

Support for updated AGP + Gradle will be coming in cordova-android@12 via #1539

If you opened the native project in Android Studio and accepted the AS prompt to upgrade AGP (Android Gradle Plugin), then you'll need to downgrade AGP back to version 7.2.1, which is what cordova-android@11 expects.

If the downgrade doesn't work, you may need to rebuild the native project by doing:

cordova platform remove android
cordova platform add android@11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants