ERROR: Manifest merger failed wi
2019-12-18 本文已影响0人
牵手生活
image.png
> Task :lib:processDebugAndroidTestManifest FAILED
[__tested_artifact__::lib] 。。。\lib\build\intermediates\library_manifest\debug\AndroidManifest.xml:95:5-81 Warning:
Element uses-permission#com.htc.launcher.permission.READ_SETTINGS at [__tested_artifact__::lib] AndroidManifest.xml:95:5-81 duplicated with element declared at [__tested_artifact__::lib] AndroidManifest.xml:77:5-81
[__tested_artifact__::lib] 。。。\lib\build\intermediates\library_manifest\debug\AndroidManifest.xml:96:5-82 Warning:
Element uses-permission#com.oppo.launcher.permission.READ_SETTINGS at [__tested_artifact__::lib] AndroidManifest.xml:96:5-82 duplicated with element declared at [__tested_artifact__::lib] AndroidManifest.xml:70:5-82
[__tested_artifact__::lib] 。。。\lib\build\intermediates\library_manifest\debug\AndroidManifest.xml:100:5-92 Warning:
Element uses-permission#com.huawei.android.launcher.permission.READ_SETTINGS at [__tested_artifact__::lib] AndroidManifest.xml:100:5-92 duplicated with element declared at [__tested_artifact__::lib] AndroidManifest.xml:84:5-92
[__tested_artifact__::lib] 。。。\lib\build\intermediates\library_manifest\debug\AndroidManifest.xml:101:5-91 Warning:
Element uses-permission#com.huawei.android.launcher.permission.CHANGE_BADGE at [__tested_artifact__::lib] AndroidManifest.xml:101:5-91 duplicated with element declared at [__tested_artifact__::lib] AndroidManifest.xml:83:5-91
[__tested_artifact__::lib] 。。。\lib\build\intermediates\library_manifest\debug\AndroidManifest.xml:108:5-65 Warning:
Element uses-permission#android.permission.CAMERA at [__tested_artifact__::lib] AndroidManifest.xml:108:5-65 duplicated with element declared at [__tested_artifact__::lib] AndroidManifest.xml:105:5-65
。。。\lib\build\intermediates\tmp\manifest\androidTest\debug\manifestMerger5805714339774916631.xml:5:5-74 Error:
uses-sdk:minSdkVersion 15 cannot be smaller than version 19 declared in library [com.swift.sandhook:hooklib:4.1.1] C:\Users\Lenovo\.gradle\caches\transforms-1\files-1.1\hooklib-4.1.1.aar\1ae31654321f31f28ded016f2e7f3180\AndroidManifest.xml as the library might be using APIs not available in 15
Suggestion: use a compatible library with a minSdk of at most 15,
or increase this project's minSdk version to at least 19,
or use tools:overrideLibrary="com.swift.sandhook.lib" to force usage (may lead to runtime failures)
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':lib:processDebugAndroidTestManifest'.
> Manifest merger failed with multiple errors, see logs
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --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 5s
42 actionable tasks: 1 executed, 41 up-to-date
ERROR: Manifest merger failed with multiple errors, see logs