Eclipse打包时出现export aborted because fatal lint errors

来源:互联网 发布:装修论坛 淘宝 编辑:程序博客网 时间:2024/05/01 02:57

参考http://blog.sina.com.cn/s/blog_a11f64590101b25f.html 博客文章,和他出现了同样的问题,要eclipse项目打包之前,是没有任何问题的,但一签名打包,问题就出现了,一直报如下错误:

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 项目名称”对话框。然后选择Adnroid 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,等待项目更新完成即可。

然后就可以打包了。














1 0
原创粉丝点击