gpt4 book ai didi

android - Ionic 3 - 任务 ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' 执行失败

转载 作者:太空宇宙 更新时间:2023-11-03 12:14:06 24 4
gpt4 key购买 nike

我在构建 ionic 3 应用程序时遇到了问题。每次我尝试构建 Android 应用程序时,它都会出现以下错误。

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

  • Try: 37 actionable tasks: 10 executed, 27 up-to-date Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

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

BUILD FAILED in 35s (node:5924) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: cmd: Command failed with exit code 1 Error output: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Picked up _JAVA_OPTIONS: -Xmx512M

Picked up _JAVA_OPTIONS: -Xmx512M

Picked up _JAVA_OPTIONS: -Xmx512M

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

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

BUILD FAILED in 35s Picked up _JAVA_OPTIONS: -Xmx512M (node:5924) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

谁能帮我解决这个问题?

最佳答案

cordova clean android 应该可以解决您的问题。

关于android - Ionic 3 - 任务 ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' 执行失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51436450/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com