打开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]$
![](https://i-blog.csdnimg.cn/blog_migrate/45577622ced8926b9128729fdc5b77d8.png)
image.png
让所有小于14的模块全部替换