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

来源:互联网 发布:二级域名解析系统源码 编辑:程序博客网 时间:2024/05/28 17:07

错误日志:

Error:Execution failed for task ‘:app:processDebugManifest’.

Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 17 declared in library [HXFSuperCalendar:calendar:unspecified] D:\work\hxfWork\HXFSuperCalendar\app\build\intermediates\exploded-aar\HXFSuperCalendar\calendar\unspecified\AndroidManifest.xml
Suggestion: use tools:overrideLibrary=”com.ldf.mi.calendar” to force usage

解决办法:

说明:你可能引用的第三方库minSdkVersion的版本不一致,gradle 组装-信息确实给了我提示清单有不同版本的 SDK 并不能合并。

我遇到的情况是由于我的一个外部project 整合的时候它的build.gradle 的 minSdkVersion 17 , 大于或小于了引入project的14,所以出错,改成相同即可。

阅读全文
0 0
原创粉丝点击