[转](Android打包问题)Export aborted because fatal lint errors

不知道是否是系统的原因啊,之前不会出现这个问题的。昨天整了一天,我的系统是64位的,把SDK和ADT都更新了依旧在打包时报如下错误:

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,待项目自己更新完成即可。
这时就可以打包了。
此问题参照http://stackoverflow.com/questions/8590908/android-export-aborted-because-fatal-error-were-founds

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据