【发布时间】:2018-08-17 06:24:29
【问题描述】:
它给了我无法合并 dex 错误。如果我评论 InApp Messaging 的依赖关系,那么它工作正常。
错误:任务 ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' 执行失败。
java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: 无法合并dex
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.google.firebase:firebase-inappmessaging-display:17.0.0'
implementation 'com.google.firebase:firebase-core:16.0.1'
类路径'com.google.gms:google-services:4.0.0'
类路径'com.android.tools.build:gradle:3.0.1'
如果有任何可用的解决方案,请告诉我。
【问题讨论】:
标签: android firebase firebase-in-app-messaging