[英]Execution failed for task ':app:processDebugMainManifest' when trying to built an Onboarding Screen Android Studio (liquid swipe)
FAILURE: Build failed with an exception. FAILURE:构建失败并出现异常。
Manifest merger failed: uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [com.cuberto:liquid-swipe:1.0.0] C:\Users\moham.gradle\caches\transforms-2\files-2.1\1105262a3bbe137895b6e5bbba256874\jetified-liquid-swipe-1.0.0\AndroidManifest.xml as the library might be using APIs not available in 16 Suggestion: use a compatible library with a minSdk of at most 16, or increase this project's minSdk version to at least 21, or use tools:overrideLibrary="com.cuberto.liquid_swipe" to force usage (may lead to runtime failures)清单合并失败:uses-sdk:minSdkVersion 16 不能小于库 [com.cuberto:liquid-swipe:1.0.0] C:\Users\moham.gradle\caches\transforms-2\files-2.1 中声明的版本 21 \1105262a3bbe137895b6e5bbba256874\jetified-liquid-swipe-1.0.0\AndroidManifest.xml 因为库可能正在使用 16 中不可用的 API 建议:使用 minSdk 版本最高为 16 的兼容库,或将此项目的 minSd 增加到至少21、或者使用tools:overrideLibrary="com.cuberto.liquid_swipe" 强制使用(可能导致运行时失败)
Try: Run with --stacktrace option to get the stack trace.尝试:使用 --stacktrace 选项运行以获取堆栈跟踪。 Run with --info or --debug option to get more log output.使用 --info 或 --debug 选项运行以获得更多日志 output。 Run with --scan to get full insights.运行 --scan 以获得完整的见解。
Get more help at https://help.gradle.org在https://help.gradle.org获得更多帮助
BUILD FAILED in 399ms 8 actionable tasks: 1 executed, 7 up-to-datea在 399 毫秒内构建失败 8 个可操作的任务:1 个已执行,7 个最新a
Add this code in your manifest在清单中添加此代码
<manifest
... >
<uses-sdk tools:overrideLibrary="com.cuberto.liquid_swipe"/>
...
</manifest>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.