Gradle is not able to generate release APK files. The build ends with a build error similar to the following.
Execution failed for task ':app:shrinkReleaseRes'.
> A failure occurred while executing com.android.build.gradle.internal.transforms.ShrinkProtoResourcesAction
> ParseError at [row,col]:[21,1]
Message: Premature end of file.
Other symptoms include:
ShrinkProtoResourcesAction
file.Proguard
file seems ok..aab
files.Additionally happens when running flutter build apk
I found the issue, there was some empty xml been added which was causing the error.