Skip to content Skip to sidebar Skip to footer

Execution Failed For Task':app:processDebugManigest'

I got this error code in my code: Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : Attribute meta-data#android.support.VERSION@value value

Solution 1:

The problem is related with firebase-ui library. From its documentation:

Upgrading dependencies

If you would like to use a newer version of one of FirebaseUI's transitive dependencies, such as Firebase, Play services, or the Android support libraries, you need to add explicit compile declarations in your build.gradle for all of FirebaseUI's dependencies at the version you want to use.

Because you use all of the firebase-ui, you need to add the specific support library version to your build.gradle. Something like this:

//auth:
compile "com.android.support:design:26.1.0"
compile "com.android.support:customtabs:26.1.0"
compile "com.android.support:cardview-v7:26.1.0"

//Database:
compile "com.android.support:recyclerview-v7:26.1.0"
compile "com.android.support:support-v4:26.1.0"

//Storage:
compile "com.android.support:appcompat-v7:26.1.0"
compile "com.android.support:palette-v7:26.1.0"

And because you use firebase-ui:2.4.0, you need to use Firebase/Google Play version 11.4.0. So, change your firebase dependency to 11.4.0:

compile 'com.google.firebase:firebase-core:11.4.0'

Post a Comment for "Execution Failed For Task':app:processDebugManigest'"