我有错误
在模块 jetified-guava-26.0-android.jar (com.google.guava:guava:26.0-android) 和 jetified-listenablefuture-1.0.jar (com.google .guava:listenablefuture:1.0)
转到文档以了解如何修复依赖关系解析错误。
更新后
classpath 'com.android.tools.build:gradle:3.5.3'
至
classpath 'com.android.tools.build:gradle:3.6.1'
并将 5.4.1 升级到 5.6.4
降级时问题解决
implementation 'com.google.firebase:firebase-firestore:21.4.1'
至
implementation 'com.google.firebase:firebase-firestore:21.4.0'
这是firebase/firestore的错误吗?
最佳答案
更新 Firebase 后,我也遇到了这个问题。
通过将以下软件包添加到您的 build.gradle
来修复冲突
implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
关于java - 在模块 jetified-guava-26.0-android.jar 中发现重复的类 com.google.common.util.concurrent.ListenableFuture,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60472354/