I am here with a simple problem. I have created a game project in one of the game builders (BuildBox) and now, when I try to import and convert it into an .apk, I get this error:
Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library [com.google.android.gms:play-services:10.2.1] C:\Users\Rob.android\build-cache\8f9b56554d0082e5d885287503f760ae18c8f99a\output\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.google.android.gms.play_services" to force usage
The problem is that I am an absolute newbie with Android Studio and I have no idea how could I update the "minSdkVersion" from 11 to 14.
I will appreciate any help!
Thanks a lot!
Edit your build.gradle file of app module in your application, and look for "minSdkVersion" parameter in defaultConfig block.
Just change it to your suitable version.
Related
Hello guys i'm gald to be here, please i have that error, can you help me?
Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 14 declared in library [com.google.android.gms:play-services:10.2.1] C:\Users\Khalil\StudioProjects\Android eBook Template\app\build\intermediates\exploded-aar\com.google.android.gms\play-services\10.2.1\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.google.android.gms.play_services" to force usage
what i can do?
In your Manifest.xml file, update uses-sdk to version 14.
First Remove the google play library(in this case com.google.android.gms.play_services), then open manifests --> AndroidManifest.xml
and change min sdk version to 14
This Line:- android:minSdkVersion="14"
Also Change it in your build.gradle of app..
under the defaultConfig
Hope it helps!!
I cant deal with gradle build for several hours.
It all ok on debug build but release just not building.
Error:
Error:Execution failed for task ':app:processStagingManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 24 declared in library [Wear App sub-manifest] /home/NAME/BOOM/app/build/generated/manifests/microapk/staging/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="" to force usage
I understand suggestion, but not understand how to use it and where.
Also, I cant find declared minSdkVersion 24 anywhere in my app modules.
It's probably Android Studio unsolved issue.
For now downgrade of Android Studio is a solution,
but I don't know if it fits you.
https://code.google.com/p/android/issues/detail?id=232834
Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library [com.google.android.gms:play-services:8.4.0] C:\Users\admin\Desktop\RingtoneApp2\app\build\intermediates\exploded-aar\com.google.android.gms\play-services\8.4.0\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.google.android.gms.all" to force usage
I used the site
http://developer.android.com/sdk/installing/migrate.html
You have a library (Play Services) that declares its minSdkVersion to be 9 but your application declares it to be 8. Since the library won't work on API 8, this combination is invalid. Eclipse didn't check for this but Android Studio does.
First Remove the google play library(in this case com.google.android.gms.play_services), then open manifests --> AndroidManifest.xml and change min sdk version to 9
This Line: android:minSdkVersion="9"
Also Change it in your build.gradle of app.. under the defaultConfig
I recently trying to move the project to Android Studio. I exporting the APK due to this error
Execution failed for task ':app:processReleaseManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library com.google.android.gms:play-services:6.1.71
I have checked my manifest file but it was 9 instead of 8... What does that refering to... do I need to update anything... Note: I initially use eclipse and moving toward Android Studio.
This may help.
modify your minSdkVersion to 9 in your build.gradle
or you can use tools:overrideLibrary="com.google.android.gms" in uses-sdk tag of your menifest.
I had a recurring error that I wasnt sure how to correct. My android studio was returning the an error indicating that my minSdk version was 11 and had to 14 in order to use the NoTitleBar parent reference in styles.xml. My AndroidManifest had the tag <uses-sdk android:minSdkVersion="14"/> but the error would not go away. I re-cleaned the project and tried to build again - same error.
Android Studio version: 0.8.6
OS: Win8.1
In app > build.gradle file try to modify this section
defaultConfig {
minSdkVersion 11
}
Best regards
Although I had the minSdk set in the manifest the project level sdk was overriding this or at least causing a collision. I located this way: File -> Project Structure -> App -> Flavors -> Change the minSdk version to whatever you need (preferably to match whats in the manifest if its declared - otherwise remove it from there). Hope this helps.
As a note I also next ran into this error I have not resolved yet:
Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version L declared in library com.android.support:support-v4:21.0.0-rc1