简体   繁体   English

尝试构建入职屏幕 Android Studio(液体滑动)时任务“:app:processDebugMainManifest”执行失败

[英]Execution failed for task ':app:processDebugMainManifest' when trying to built an Onboarding Screen Android Studio (liquid swipe)

FAILURE: Build failed with an exception. FAILURE:构建失败并出现异常。

  • What went wrong: Execution failed for task ':app:processDebugMainManifest'.出了什么问题:任务“:app:processDebugMainManifest”执行失败。

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.orghttps://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.

相关问题 Android Studio中的任务“:app:dexDebug”执行失败 - Execution failed for task ':app:dexDebug' in Android Studio Android Studio-任务&#39;:app:compileDebugJavaWithJavac&#39;的执行失败 - Android Studio - Execution failed for task ':app:compileDebugJavaWithJavac' 任务&#39;:app“ dexDebug的Android Studio执行失败 - Android Studio Execution failed for task ':app"dexDebug 任务执行失败:app:compileDebugJavaWithJavac in Android Studio 2 - Execution Failed for task :app:compileDebugJavaWithJavac in Android Studio 2 Android Studio 中任务 :app:compileDebugJavaWithJavac 的执行失败 - Execution Failed for task :app:compileDebugJavaWithJavac in Android Studio Android Studio-执行任务失败:app:transformclasseswithdexfordebug - Android studio - Execution failed for task :app:transformclasseswithdexfordebug Android Studio 执行任务“:app:processDebugResources”失败。 - Android Studio Execution failed for task ':app:processDebugResources'. Android Studio:任务&#39;:app:transformClassesWithDexBuilderForDebug&#39;的执行失败 - Android Studio: Execution failed for task ':app:transformClassesWithDexBuilderForDebug' 任务':app:dexDebug'Android Studio的执行失败 - Execution failed for task ':app:dexDebug' Android Studio Android Studio Build失败,异常执行失败':app:dexDebug' - Android Studio Build failed with an exception Execution failed for task ':app:dexDebug'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM