eclipse 报错 Export aborted because fatal lint errors were found.

来源:互联网 发布:家暴 知乎 编辑:程序博客网 时间:2024/06/17 10:17

在eclipse里打包Android工程时:

Export aborted because fatal lint errors were found.These are listed in the Problems 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,
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,待项目自己更新完成即可。

0 0
原创粉丝点击