Reputation: 3
Please, I'm having this error whenever I try to add com.android.support:support-v426.0.0-alpha1
. The error is given below:
Error:Execution failed for task ':app:processDebugManifest'. Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(25.3.1) from [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31 is also present at [com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-38 value=(26.0.0-alpha1). Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:25:5-27:34 to override.
Upvotes: 0
Views: 589
Reputation: 1011
This issue is Android studio detected 2 different versions of Android support library. The case here would be the support library version 25.3.1 in another library that you are importing.
I would suggest you don't use the alpha version (26-alpha) and change it to version 25.3.1
Upvotes: 1
Reputation: 2276
There must be another library importing 25.3.1, there is no other way. It might be a thirdparty library you are importing. Find the library which is depending on that 25.3.1 support lib. You can exclude it with
compile ('library........'){
exclude group: 'com.android.support', module: 'support-v7'
}
Upvotes: 1