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

前端 未结 2 1366
遥遥无期
遥遥无期 2020-12-20 13:41

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 andr

相关标签:
2条回答
  • 2020-12-20 13:54

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

    0 讨论(0)
  • 2020-12-20 14:05

    in android manifest change to this

        <meta-data
            android:name="com.facebook.sdk.ApplicationId"
            android:value="@string/facebook_app_id"
            tools:ignore="ManifestResource" />
    

    from : https://code.google.com/p/android/issues/detail?id=194705

    0 讨论(0)
提交回复
热议问题