Android打包APK出现Export aborted because fatal lint errors错误

来源:互联网 发布:淘宝登录首页官网 编辑:程序博客网 时间:2024/05/16 06:39

在项目打包签名APK的时候,出现如下错误:

Export aborted because fatal lint errors were found. These are listed in the Lint View. Either fix these before running Export again,or turn off"Run full error check when exporting app" in the Android > Lint Error Checking preference page.


解决方法如下:

选择Project->Properties,然后选择Android Lint Preferences->Configure Workspace Settings...,弹出Preferences(Filtered)对话框,将"Run full error check when exporting app and abort if fatal errors are found "前的勾去掉,点击Apply再点击OK.
这时回到项目右击选择Android Tools->Clean Lint Markers,待项目自己更新完成即可。
这时重新提交打包就OK了。

0 0
原创粉丝点击