Eclipse打包時出現export aborted because fatal lint errors

參考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,等待項目更新完成即可。

然後就可以打包了。














發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章