Failed to generate apk from Android studio 3.1.1

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

    Solved (works for me) changing gradle version in the project build.gradle:

    From this

    classpath 'com.android.tools.build:gradle:3.1.1'
    

    to this

    classpath 'com.android.tools.build:gradle:3.0.1'
    

提交回复
热议问题