Reputation: 4698
I'm using last version of android Studio ( Android Studio Ladybug Feature Drop | 2024.2.2 )
Once the project sync there is a message saying I'm using a old version of AGP (8.6) and should run upgrade assistant. But it won't run, it opens, show me the version choice (8.7 / 8.8), then do nothing :
Can you tell me what I am missing here ?
I've seen on some other questions that I should open my android app folder as an android project ? I've tried to reopen it but don't really understand "as an android project" ? Not sure it's the same issue though...
Thanks for your help.
EDIT (more info)
I've read the following message :
The upgrade assistant is unable to upgrade this project. You can upgrade AGP by manually completing the list of required upgrade steps. 'Upgrade AGP dependency from 8.6.0 to 8.8.0'
But the project structure doesn't even show an AGP version to change ...
Upvotes: 0
Views: 103
Reputation: 4698
The upgrade assistant was useless here.
I've been able to manually upgrade Gradle plugin by specifying the version number in the dependency config :
buildscript {
...
dependencies {
...
classpath('com.android.tools.build:gradle:8.8.0') // version was not specified here
Upvotes: 0