I'm using facebook login in my app. I've created facebook app id. If I use facebook app id in values/strings.xml it works fine and I'm able to generate signed apk in android studio. If I use that facebook app id in values-ta/strings.xml and values-de/strings.xml it shows an error and I'm not able to generate apk.
Error: Resources referenced from the manifest cannot vary by configuration (except for version qualifiers, e.g. -v21.) Found variation in ta.
Elements in the manifest can reference resources, but those resources cannot vary across configurations (except as a special case, by version, and except for a few specific package attributes such as the application title and icon.)
Can anyone help me to solve this issue.
Thanks.
The solution is we need to add attribute translatable="false"
in that particular string resource.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With