【问题标题】:transformClassesWithJarMergingForDebug ErrortransformClassesWithJarMergingForDebug 错误
【发布时间】:2016-08-20 20:28:57
【问题描述】:

enter image description here 我在我的android项目中使用shopify SDK,在集成Firebase Cloud Messaging Library之前一切都很好。 当我添加 firebase gradle 依赖项并运行项目时,出现此错误。

错误:任务 ':app:transformClassesWithJarMergingForDebug' 执行失败。

com.android.build.api.transform.TransformException:java.util.zip.ZipException:重复条目:com/google/android/gms/actions/ReserveIntents.class

【问题讨论】:

  • 欢迎来到 StackOverflow。我建议您阅读How do I ask a good question?,然后相应地编辑您的问题。如果你不这样做,那么你很可能会收到负面反馈。
  • 请提供更多细节。
  • @AhlemJarrar 你能帮我解决这个问题吗
  • @Osamadarabeh 您是否尝试清理您的项目?你的依赖有问题。你能分享你的gardle文件吗
  • @Osamadarabeh 分享您的 gardle 文件以查看是否缺少依赖项

标签: android firebase sdk shopify firebase-cloud-messaging


【解决方案1】:

从依赖项 gardle.project 中删除您的 Jar 文件并运行您的项目

编译fileTree(dir: 'libs', include: '*.jar')

希望对你有帮助

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-06-28
    • 2016-10-26
    • 2016-10-30
    • 1970-01-01
    • 2018-04-11
    • 1970-01-01
    相关资源
    最近更新 更多