You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

求助:transformDexArchiveWithExternalLibsDexMergerForDebug编译错误常规方案无效

DexArchiveMergerException on transformDexArchiveWithExternalLibsDexMergerForDebug - All Common Solutions Failed

我卡在一个Dex合并的问题上快崩溃了!执行:app:transformDexArchiveWithExternalLibsDexMergerForDebug任务时一直失败,已经把网上和社区能找到的解决方案都试了个遍,但完全没用。麻烦大家别把这个标记成重复问题,真的需要新的思路!

已尝试的解决方案:

  • 开启multiDexEnabled true
  • 在Gradle依赖中添加multidex库
  • 让自定义Application类继承MultiDexApplication

报错堆栈日志片段:

Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
com.android.builder.dexing.DexArchiveMergerException: Error while merging...

内容的提问来源于stack exchange,提问作者Reza

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.25 03:30:11