I encountered a problem with the android gradle plug-in (agp) version in my project. Currently I'm using agp 8.2.1 but it doesn't seem to be compatible. The error message shows that the latest supported version is agp 8.2.0-alpha14.
[Error] Incompatible AGP Version: The project is using AGP 8.2.1, but the latest supported version is AGP 8.2.0-alpha14.
Try to sync gradle
Solved by downgrading the gradle version in the libs.versions.toml file, in my case I Downgraded to "8.1.0".
Thanks.
You need to update Android Studio.
The above is the detailed content of This project is using an incompatible version (AGP 8.2.1) of the Android Gradle plugin. The latest supported version is AGP 8.2.0-alpha14. For more information, please follow other related articles on the PHP Chinese website!