[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,待项目自己更新完成即可。
这时就可以打包了。


你可能感兴趣的:(android,打包)