码迷,mamicode.com
首页 > 移动开发 > 详细

android studio 打包报错:Generate Signed APK: Errors while building APK. You can find the errors in the 'Messages' view.

时间:2020-01-14 12:57:38      阅读:134      评论:0      收藏:0      [点我收藏+]

标签:builds   sign   into   top   androi   pre   ons   release   find   

找到app文件下的build.gradle文件,之后在该文件中的android加入如下代码即可:

android {
......

lintOptions {
    checkReleaseBuilds false
abortOnError false
}

android studio 打包报错:Generate Signed APK: Errors while building APK. You can find the errors in the 'Messages' view.

标签:builds   sign   into   top   androi   pre   ons   release   find   

原文地址:https://www.cnblogs.com/fu609277362/p/12191194.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!