Ayoub Afnakar
Ayoub Afnakar

Reputation: 3

Manifest merger failed : uses-sdk:minSdkVersion 11

I really don't know what's the problem, I always get this error when I try to build my project

Error:Execution failed for task ':app:processReleaseManifest'.

Manifest merger failed : uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library [com.google.android.gms:play-services:10.2.0] C:\Users\AYOUB\Desktop\Boiling ball studio\app\build\intermediates\exploded-aar\com.google.android.gms\play-services\10.2.0\AndroidManifest.xml Suggestion: use tools:overrideLibrary="com.google.android.gms.play_services" to force usage

Upvotes: 0

Views: 2439

Answers (2)

Aman Shekhar
Aman Shekhar

Reputation: 2780

Manifest Merger occurs when there is a mismatch in a version of your dependencies. So be careful to mention the version of your dependencies to be same. And also make sure that the version is same in all the external libraries or a module, you are using.

Upvotes: 0

Ruben Aalders
Ruben Aalders

Reputation: 622

As stated in the error; you should update your minimum version from 11 to 14.

Google Play services need at least Android version 14 (4.0) to work.

Check this link from Google

Upvotes: 1

Related Questions