user268397
user268397

Reputation: 1927

Non-translatable resources should only be defined in the base values/ folder - Android Export APK

I get the following error when I try to export my Android project to an APK: Non-translatable resources should only be defined in the base values/ folder. The here is the code it is having an issue with:

<string-array name="about_translators" translatable="false">

This is happening in the array.xml file in the values folder in the res directory. The code it is having an issue with is:

translatable="false"

How do I fix this issue? Any help would be appreciated.

Upvotes: 6

Views: 2688

Answers (1)

Orgmir
Orgmir

Reputation: 393

Just found this problem myself, I had strings marked with translatable="false" in a values-es/strings.xml. You have to delete them and leave them only on the values/strings.xml

Upvotes: 5

Related Questions