Fatal Lint Error during exporting of signed app

一世执手 提交于 2019-12-10 12:38:27

问题


I'm trying to export a signed android app, but I encountered this lint error:

And when I go into the xml to look at it, this happens:

Is there a way to solve this so that I can continue to sign the app? I don't need them translated since it'll all be in English anyway.


回答1:


The problem was with Android Lint. For solving this go to Preferences -> Android -> Lint error Checking.

There you can see a list of error checking methods.

  • Scroll to Correctness:Messages.
  • Change the severity of Missing Translation to be something other than error, say warning



回答2:


Window--> Preferences --> Android -->Lint Error Checking --> Uncheck the second check box that says -Run full error check.

Hope this helps...




回答3:


Since you don't want to translate on all languages and errors similar to that try the following step

Project -> Properties, find Android Lint Preferences, in top to right click Configure Workspace Settings... -> Uncheck Run full error check when exporting app.



来源:https://stackoverflow.com/questions/14515231/fatal-lint-error-during-exporting-of-signed-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!