I'm encountering an issue with Android Gradle Plugin (AGP) version in my project. Currently, I am using AGP 8.2.1, but its seems to be incompatible. The error message says 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.
Tried syncing gradle
Solved by downgrading gradle version in the libs.versions.toml file, in my case, I downgraded it to "8.1.0".
Thanks.