我有一个应用程序,它使用WorkManager来完成一些预定的任务,我正在一些不同框架的帮助下对它进行测试。我可以成功地运行单元测试,但是当我尝试运行检测测试时,Calculate task graph失败了 Could not determine the dependencies of task ':myModule> Could not resolve com.google.guava:listenablefuture:{strictly 1
我在配置我的安卓应用程序以使用AndroidX进行测试时遇到了困难。 当我尝试运行我的初始测试时,我得到了这个错误:- FAILURE: Build failed with an exception> Could not resolve com.google.guava:listenablefuture:1.0.:listenablefuture:1.0'
Constraint path
当我在我的implementation 'com.google.firebase:firebase-inappmessaging-display:17.2.0'中使用app/build.gradle时,我会得到以下错误:
Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules guava-20.0.jar (com.google.guava:guava:20.0) and listenable
每次我构建我的项目时,我都会得到同样的错误: Duplicate class com.google.common.util.concurrent.ListenableFuture found in modulesjetified-guava-20.0 (com.google.guava:guava:20.0) and jetified-listenablefuture-1.0 (com.google.guava:listenablefuture:1.0