Android打包常見錯誤之Export aborted because fatal lint errors were found


打包時報如下錯誤:

<ignore_js_op>

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 ******”對話框,在這里******為你的項目名稱。 
<ignore_js_op>
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. 
<ignore_js_op>
3.回到項目右擊選擇Android Tools->Clean Lint Markers,待項目自己更新完成即可。 
這時就可以打包了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM