Android Studio 2點先可以用到facebook sdk?

我個app原本好地地, build到, 正常用到

但一升左去android studio 2, 就無辦法build到apk

主要係因為
manifest入面既依句
        <meta-data
            android:name="com.facebook.sdk.ApplicationId"
            android:value="@string/fb_app_id" />

整左依個error出黎
Error:(63) Error: Resources referenced from the manifest cannot vary by configuration (except for version qualifiers, e.g. -v21.) Found variation in zh-rHK [ManifestResource]

之後無辦法, 唯有將個id寫落manifest
        <meta-data
            android:name="com.facebook.sdk.ApplicationId"
            android:value="123456789" />

今次可以builld, 但app就死左
去到要用facebook sdk既位就出error
java.lang.RuntimeException: Unable to create service com.myactivity: App Ids cannot be directly placed in the manifest.They must be prefixed by 'fb' or be placed in the string resource file.
Caused by: App Ids cannot be directly placed in the manifest.They must be prefixed by 'fb' or be placed in the string resource file.

咁我唯有又將個id放返落string, 但為左解決最初既問題, 我就將其他language既string.xml既app id都delete左
但咁樣, 就輪到android studio唔比我build, 因為果D string.xml唔齊string

而家仲有咩方法可以解決依個問題?

本帖最後由 kenny910 於 2016-4-14 20:59 編輯

del....

TOP

<string name="ApplicationId" translatable="false">1234567</string>

TOP