1. 程式人生 > >eclipse ->android tools->exports signed .....報錯 Export aborted because fatal lint errors were found.

eclipse ->android tools->exports signed .....報錯 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.


解決方法如下:
選擇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,待專案自己更新完成即可。
這時就可以打包了。