Fatal Lint Error during exporting of signed app

2019-06-16 01:53发布

问题:

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.