Reputation: 12768
Strange effect when updating string resource file with the external tool SmartGIT. Here what I see from the Translation Editor:
But if I check in the resource file both strings are translated in German (de):
Rebuilding the project has no effect.
Upvotes: 3
Views: 864
Reputation: 752
This is a recurring issue for me since switching to Android Studio 3.1.
I have branches with different languages supported, and when switching back and forth it seems the cache gets corrupted, and Android Studio fails to scan the other resources directory.
In most cases, "File --> Invalidate caches / Restart... --> Invalidate and Restart" seems to fix it.
Upvotes: 6