admin管理员组

文章数量:1300184

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 ...

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 ...

Share Improve this question edited Feb 11 at 16:51 Guian asked Feb 11 at 15:55 GuianGuian 4,7084 gold badges36 silver badges59 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

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

本文标签: android studioHow to run AGP Upgrade assistantStack Overflow