Error:Execution failed for task ‘:app:processDebugManifest’. > Manifest merger failed

Home  >>  Tutorials  >>  Android  >>  Error:Execution failed for task ‘:app:processDebugManifest’. > Manifest merger failed

Error:Execution failed for task ‘:app:processDebugManifest’. > Manifest merger failed

19
Feb,2018

0

Problem :

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:36:13-52 is also present at [com.firebaseui:firebase-ui-auth:3.1.0] AndroidManifest.xml:21:13-60 value=(@string/facebook_application_id). Suggestion: add ‘tools:replace=”android:value”‘ to <meta-data> element at AndroidManifest.xml:34:9-36:55 to override.

Solution :

 

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

Leave a Reply

Your email address will not be published. Required fields are marked *