Failed to generate apk from Android studio 3.1.1

后端 未结 8 790
被撕碎了的回忆
被撕碎了的回忆 2020-12-31 07:48

When I try to generate a signed APK, I found this issue :

10:58 Generate Signed APK: Errors while building APK. You can find the errors in the \'Messa

相关标签:
8条回答
  • 2020-12-31 08:37
    lintOptions {
        abortOnError false
    }
    

    //add this on gradle file inside android tag

    0 讨论(0)
  • 2020-12-31 08:40

    Try Setting debug to True in release mode though debuggable should be set to false in release APK but currently this is the solution i get.

    release {
                debuggable true
            }
    

    Update

    Adding the following code in gradle to make it work

    lintOptions {
        checkReleaseBuilds false
    }
    
    0 讨论(0)
提交回复
热议问题