【问题标题】:Ionic cordova Execution failed for task ':transformClassesWithDexForDebug'任务':transformClassesWithDexForDebug'的离子科尔多瓦执行失败
【发布时间】:2017-06-19 17:09:25
【问题描述】:

我正在尝试构建我的 ionic 应用程序并收到以下错误。

Error: /Applications/MAMP/htdocs/ionic/newBuild/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/app/NavUtils$NavUtilsImpl;

有人知道怎么解决吗?

【问题讨论】:

  • 你得到答案了吗?我现在面临着类似的问题。

标签: android cordova ionic-framework ionic2 ionic3


【解决方案1】:

我发现问题出在我删除的文档查看器插件和该插件所依赖的 support-v4.jar 上,现在已修复。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-06-03
    • 2019-02-04
    • 1970-01-01
    • 2023-03-22
    • 2022-07-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多