Android打包常见错误之Export aborted because fatal lint errors were found

打包时报如下错误:

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. 

解决方法如下: 
1.选择Project->Properties,弹出“Properties for ******”对话框,在这里******为你的项目名称。 

2.选择Adnroid Lint Preferences->Configure Workspace Settings...,弹出Preferences(Filtered)对话框,将"Run full error check when exporting app and abort if fatal errors are found "前的勾去掉,点击Apply再点击OK. 

3.回到项目右击选择Android Tools->Clean Lint Markers,待项目自己更新完成即可。 
这时就可以打包了。
 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。