Android Manifest merger error -


i keep on getting manifest merger error. gradle dependency shown in image attached.

error:execution failed task ':app:processdebugmanifest'. > manifest merger failed : attribute meta-data#android.support.version@value value=(25.3.1) [com.android.support:customtabs:25.3.1] androidmanifest.xml:24:9-31 present @ [com.android.support:design:26.0.0-alpha1] androidmanifest.xml:27:9-38 value=(26.0.0-alpha1). suggestion: add 'tools:replace="android:value"' <meta-data> element @ androidmanifest.xml:22:5-24:34 override.     

it's either find library using different support library version or use resolution strategy , add @ end of app module build.gradle:

configurations.all {     resolutionstrategy.eachdependency { dependencyresolvedetails details ->         def requested = details.requested         if (requested.group == 'com.android.support') {             if (!requested.name.startswith("multidex")) {                 details.useversion '25.3.0'             }         }     } } 

for more information please check: android support repo 46.0.0 android studio 2.3


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -