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

 Still no luck, I’ve deleted the empty line. Actually, if I use AGP 8.0.0-beta01 it works, but I consider not upgrading to AGP 8 yet and waiting for stable version. I end up using AGP 7.4.0 and add this in gradle.properties

android.enableNewResourceShrinker=false

Seems like they have a bug in the new shrink method and fixed in Gradle 8. ref:

AGP 8.0.0

Step:1




Step ; 2



No comments:

Post a Comment

Angular Latest Features with Step-by-Step Examples (Angular v17+)

  Angular's latest version introduces groundbreaking features that enhance developer experience, performance, and reactivity. Here's...

Best for you