Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules guava-20.0.jar (com.google.guava:guava:20.0)

后端 未结 8 1657
[愿得一人]
[愿得一人] 2020-12-08 03:58

When I use implementation \'com.google.firebase:firebase-inappmessaging-display:17.2.0\' in my app/build.gradle, I get this error:



        
8条回答
  •  無奈伤痛
    2020-12-08 04:15

    1. Open build.gradle file.

    2. Do Not replace! Just add this line into dependencies{}:

      implementation 'com.google.guava:guava:-jre'
      

    Note: To get the version go to https://mvnrepository.com/artifact/com.google.guava/guava and find for the latest version of jre.

提交回复
热议问题