android-studioandroid-gradle-plugin

AGP Version 8.7.3 not supported in most recent Android Studio


I believe to have encountered a bug in the most recent Android Studio Version regarding AGP compatibility. Does anyone know about it?

According to offical Android documentation, the most recent Android Studio version Ladybug Feature Drop | 2024.2.2 should support AGP 3.2-8.8: https://developer.android.com/studio/releases#android_gradle_plugin_and_android_studio_compatibility

However, i get the following incompatibility error for AGP 8.7.3

The project is using an incompatible version (AGP 8.7.3) of the Android Gradle plugin. Latest supported version is AGP 8.2.2

Here is my Android Studio Version

Android Studio Ladybug Feature Drop | 2024.2.2
Build #AI-242.23726.103.2422.12816248, built on December 18, 2024
Runtime version: 21.0.4+-12508038-b607.1 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
  ide.experimental.ui=true
  i18n.locale=
Non-Bundled Plugins:
  org.sonarlint.idea (7.1.1.54565)

I am building with Gradle 8.11

After downgrading to 8.2.2 the build works. I have tried the usual stuff. Invalidating caches, restarting, even clean install.


Solution

  • Issue has been resolved with the latest "Patch 2" Update