Apps build failed after upgrading AGP to 7.3.1

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: Google Issue Tracker

1 Like