uses-sdk:minSdkVersion 1 cannot be smaller than version 7 declared in library [com.android.support:appcompat-v7:23.2.0]
See original GitHub issueI’m following this Google Play Games Services tutorial: https://developers.google.com/games/services/android/quickstart#before_you_begin
I’ve followed every single step in this tutorial, but when I tried to build the “Type-A-Number” package, it showed me:
Error:Execution failed for task ':libraries:BaseGameUtils:processDebugAndroidTestManifest'.
> java.lang.RuntimeException: Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 7 declared in library [com.android.support:appcompat-v7:23.2.0] /Users/sean/Progs/android-basic-samples/BasicSamples/libraries/BaseGameUtils/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.2.0/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="android.support.v7.appcompat" to force usage
Can anyone tell me how to solve it?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be ...
You are using a library with minSdk=7 , then you can't use minSdk=1. Also pay attention that gradle overrides the values in the...
Read more >Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be ...
uses-sdk:minSdkVersion 1 cannot be smaller than version 7 declared in library com.android.support:appcompat-v7:19.0.1.
Read more >Support Library Revision Archive - Android Developers
This page provides details about older Support Library package releases. For the most recent Support Library releases, see Recent Support ...
Read more >OSS Android libraries developed
Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 21 declared in library [:sensey]. Suggestion: + Use a compatible library ......
Read more >minSdkVersion 14 cannot be smaller than version 16 declared ...
ERROR: Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
File->Project Structure and set there for every module min SDK version in Flavors section.
You have to add the minSdkVersion to your build.gradle.
Otherwise, gradle uses the default value = 1. minSdkVersion *sdk