Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease

前端 未结 6 2137
没有蜡笔的小新
没有蜡笔的小新 2020-12-04 17:50

I am trying to export apk and I want to enable Proguard but it throwing below error. I read so many answers and tried but didn\'t worked. Getting below error:



        
6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-04 18:09

    add the below to your ProGuard rules

    -ignorewarnings
    
    -keep class * {
        public private *;
    }
    

    and rebuild your project.

提交回复
热议问题