Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 21 declared in li
2017-03-13 18:54
357 查看
昨天在项目中导入了一个库,结果就出现下面的一大堆的错误,果断跑出来,这坑大家绕过去
Error:Execution failed for task ':app:processAnzhiDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 21 declared in library [Top6000_V3:pay:unspecified] D:\androidRunDemo\Top6000_V3\app\build\intermediates\exploded-aar\Top6000_V3\pay\unspecified\AndroidManifest.xml Suggestion:
use tools:overrideLibrary="com.example.lht.pay" to force usage
原因:你导入的库中的版本号与你主项目中的版本号不一致,
(1)这是我导入库的配置文件
(2)这是我主项目里面的配置文件 大家应该看到不一致的地方了吧,所以把你自己导入的库里面的信息和你主项目的信息改成一致,就可以解决
相关文章推荐
- Manifest merger failed : uses-sdk:minSdkVersion 9 cannot be smaller than version 10 declared in library
- 关于Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in lib
- 关于Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 16 declared in lib
- Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared
- Android Studio报错:Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version
- uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library
- Android Studio常见问题--uses-sdk:minSdkVersion 11 cannot be smaller than version 15 declared in library
- Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 7
- uses-sdk:minSdkVersion 14 cannot be smaller than version 21 declared in library
- Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version
- Android Studio常见问题 -- uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library
- Android Studio常见问题 -- uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library
- Android -- uses-sdk:minSdkVersion 10 cannot be smaller than version L declared in library com.android.support:appcompat-v7:21.0.0-rc1
- uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library
- Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be sma
- Android Studio编译报错:sdk:minSdkVersion 1 cannot be smaller than version 7 declared in library
- Android Studio 中Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 7
- uses-sdk tools:overrideLibrary uses-sdk:minSdkVersion 1 cannot be smaller than version 9
- 解决 Android Studio : minSdkVersion 8 cannot be smaller than version L
- 解决 Android Studio : minSdkVersion 8 cannot be smaller than version L