I was following Google's Intro to state in Compose tutorial and I got stuck with this error:
The project is using an incompatible version (AGP 8.8.0) of the Android Gradle plug-in. Latest supported version is AGP 8.7.3.
See Android Studio & AGP compatibility options.
I looked up on the Internet, have found this and that, but it seems to me that in most, if all, questions regarding the exact same thing, authors had used older versions and had to just update their Android Studio to the latest version there is. Unfortunately, mine is up-to-date, with all my plug-ins being regularly updated as well. Then, I was trying to somehow tweak the settings in build.gradle
file, but somehow, I assume because I couldn't even build the project, I don't have it at all. One possible solution might be to just use a downgraded/older version of the Studio, but I don't see how it'll make things better in the future. Thanks everyone in advance!
I was following Google's Intro to state in Compose tutorial and I got stuck with this error:
The project is using an incompatible version (AGP 8.8.0) of the Android Gradle plug-in. Latest supported version is AGP 8.7.3.
See Android Studio & AGP compatibility options.
I looked up on the Internet, have found this and that, but it seems to me that in most, if all, questions regarding the exact same thing, authors had used older versions and had to just update their Android Studio to the latest version there is. Unfortunately, mine is up-to-date, with all my plug-ins being regularly updated as well. Then, I was trying to somehow tweak the settings in build.gradle
file, but somehow, I assume because I couldn't even build the project, I don't have it at all. One possible solution might be to just use a downgraded/older version of the Studio, but I don't see how it'll make things better in the future. Thanks everyone in advance!
Unfortunately, mine is up-to-date, with all my plug-ins being regularly updated as well.
I'd suggest restarting your PC and invalidating the caches in android studio.
for anyone who is reading this and did not update their android studio: Update your android studio.
https://developer.android.com/studio/releases
Android Studio version Required AGP version
Ladybug Feature Drop | 2024.2.2 3.2-8.8
Ladybug | 2024.2.1 3.2-8.7 // notice how this version
// does not support 8.8