Error in res string "Locale missing translation for"

In my project, I get an error that prevents me from compiling. It is reported that as an example: Description Type of location of the resource path There are no translations in the locale for: foo, htmlsource1, htmlsource_old values-it / Android_coll / res line 1 Problem with the Android lens

"foo, htmlsource1, htmlsource_old" is an old line that is no longer in the res-> values-it folder. To be more specific, they are no longer present throughout the project.

I tried:

  • close and open the project.

  • close and open Eclipse (indingo)

  • clean project (project-> clean)

  • copy the string.xml file from the values ​​of the folder and copy it to the values ​​of the-it folder

but i still have the same error message.

thanks marco

+4
source share
2 answers

I had the same problem when I upgraded to 4.0 SDK. The problem was in Android Lint. If you go to the project properties → Android-> Lint Error Checking and change the severity of the “Missing Translation” to be something other than Error, you should be able to build now.

+15
source

My solution is under "Android Tools" → "Clean Shortcut Markets"

Before you can start Lint again from Android tools, the error will disappear.

+5
source

Source: https://habr.com/ru/post/1388714/


All Articles