erger failed : uses-sdk:minSdkVersion 12 cannot be smaller than version 14 declared in library [com....

打开HorizontalRefreshLayouy模块
修改build.gradle

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':HorizontalRefreshLayout-master1:processDebugAndroidTestManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 12 cannot be smaller than version 14 declared in library [com.android.support:appcompat-v7:26.0.1] C:\speed\other\.gradle\caches\transforms-1\files-1.1\appcompat-v7-26.0.1.aar\f1e4da4cdcf6de5d666644623a5acf53\AndroidManifest.xml as the library might be using APIs not available in 12
    Suggestion: use a compatible library with a minSdk of at most 12,
        or increase this project's minSdk version to at least 14,
        or use tools:overrideLibrary="android.support.v7.appcompat" to force usage (may lead to runtime failures)

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 11s
went wrong:
Execution failed for task ':jpushlibary:processDebugAndroidTestManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library [com.android.support:appcompat-v7:26.0.1] C:\speed\other\.gradle\caches\transforms-1\files-1.1\appcompat-v7-26.0.1.aar\f1e4da4cdcf6de5d666644623a5acf53\AndroidManifest.xml as the library might be using APIs not available in 11
    Suggestion: use a compatible library with a minSdk of at most 11,
        or increase this project's minSdk version to at least 14,
        or use tools:overrideLibrary="android.support.v7.appcompat" to force usage (may lead to runtime failures)

* Try:

数据太多了,直接正则替换

minSdkVersion [1-5][0-3]$|minSdkVersion [0-9]$
image.png

让所有小于14的模块全部替换

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值