Reputation: 849
I'm using compile 'com.firebaseui:firebase-ui:2.3.0'
for firebase authentication, I have also integrated facebook sdk separately.
But when I compile this code, its give me menifest error or tool:replace for android:supportsRtl and android facebook.application_id
Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : Attribute meta-data#com.facebook.sdk.ApplicationId@value value=(@string/facebook_app_id) from AndroidManifest.xml:120:13-52 is also present at [com.firebaseui:firebase-ui-auth:2.3.0] AndroidManifest.xml:24:13-60 value=(@string/facebook_application_id). Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:118:9-120:55 to override.
Upvotes: 1
Views: 686
Reputation: 11
add
<resources>
<!-- ... -->
<string name="facebook_application_id" translatable="false">CHANGE-ME</string>
replace Manifest.xml
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_application_id" />
Upvotes: 1