question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Will the "Android Gradle Plugin" version be updated?

See original GitHub issue

please excuse the non-templated issue… none of the current options seem appropriate for my query, which specifically relates to the code in this platform project, not my own local app


I generated a fresh new Ionic Framework 6 application just now, added cordova-android@10 and generated the native project files. after opening this new project in Android Studio (Bumblebee 2021.1.1 patch 1), I got a recommendation to upgrade “Android Gradle Plugin” from version 4.2.2 to 7.1.1.

this seems wildly outdated… surely cordova-android/framework/cdv-gradle-config-defaults.json line 6 should be updated then? or is there perhaps some reason I’m unaware of for keeping it as is?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
breautekcommented, Feb 18, 2022

It seems massively outdated because google did a versiojn skip from 4.x to 7.x. there is no v5 or v6. And needlessly to say, yes 7.x has breaking changes 😉

Generally these things are sorted out during our major releases. If I recall correctly, 7 X requires java 11 & amd build tools 31, but idk if there are anything else that requires updating.

0reactions
jcesarmobilecommented, Feb 18, 2022

It was to avoid the confusion between the gradle plugin version and the gradle wrapper version. They still don’t match to the exact same version, but at least both of them are 7.x now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Gradle plugin release notes - Android Developers
When you update Android Studio, you may receive a prompt to automatically update the Android Gradle plugin to the latest available version. You...
Read more >
How to Update Gradle in Android Studio? - GeeksforGeeks
Step 1: Open Android Studio and navigate to File → Settings ; Step 2: Selecting desired Gradle version. ; Step 1: Go to...
Read more >
How to update gradle in android studio? - Stack Overflow
Open AS: File->Settings->Build, Execution, Deployment->Build Tools-> Gradle->Service directory path: (Change to folder you set above) ->Click ok. Status on ...
Read more >
Welcome to Android Studio 3.0. It's a brave new world
Updating the IDE and plugin · Open gradle-wrapper.properties · Enter the latest version of Gradle (above 4.1) · Open build.gradle in the root...
Read more >
Android Gradle Plugin 8.0 Improves Build Times, Requires ...
Google has announced the upcoming Android Gradle Plugin (AGP), version 8.0, reduces build times by removing the Transform APIs and replacing ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found