Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android : Facebook app id showing error in values-ta/strings.xml and can't able to generate signed apk

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.

like image 671
Kamal Avatar asked Feb 14 '16 05:02

Kamal


1 Answers

The solution is we need to add attribute translatable="false" in that particular string resource.

like image 167
Kamal Avatar answered Nov 15 '22 22:11

Kamal