Failed to generate apk from Android studio 3.1.1

后端 未结 8 821
被撕碎了的回忆
被撕碎了的回忆 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:22

    Please use Analyze > Inspect Code to inspect your code

    If your app could be compiled and running just fine but you failed to generate sign APK. For me, after running inspection it shows me a few errors in my code. I fixed all those errors then I could build sign APK just fine. Check this Answer for more option to fix this

提交回复
热议问题