When the shrinkResources is set to true within buildTypes release in build.gradle file, Generate Signed APK was failed


I already add this -

ZOOM

-keep class us.zoom.{*;}
-keep class com.zipow.
{;}
-keep class us.zipow.**{
;}
-keep class org.webrtc.{*;}
-keep class us.google.protobuf.
{;}
-keep class com.google.crypto.tink.**{
;}
-keep class androidx.security.crypto.**{*;}

in the Proguard Rule, but it doesn’t work.
I got the error as I mentioned before.

(

Task :app:shrinkReleaseRes FAILED

Execution failed for task ‘:app:shrinkReleaseRes’.

A failure occurred while executing com.android.build.gradle.internal.transforms.ShrinkProtoResourcesAction
ParseError at [row,col]:[1,1]
Message: Content is not allowed in prolog.
)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.