Generate Signed APK: Errors while building APK Android Studio

后端 未结 9 1995
无人共我
无人共我 2021-02-12 22:20

I am unable to generate Signed APK using minifyEnabled true and shrinkResources true

App Level : build.gradle

buildscript {
            


        
9条回答
  •  心在旅途
    2021-02-12 22:47

    Try to generate signed APK using terminal by gradle command see your stack trace that will give you detailed log where has the problem.

    In Windows

    $gradle clean

    $  gradle --stacktrace assembleRelease
    

    In Ubuntu

    $./gradlew clean

    $./gradlew --stacktrace assembleRelease 
    

    if you have still problem post you stack trace here

提交回复
热议问题