Shubham Solace
Shubham Solace

Reputation: 61

Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules guava-26.0-android.jar

java.lang.RuntimeException: Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules guava-26.0-android.jar (com.google.guava:guava:26.0-android) and listenablefuture-1.0.jar (com.google.guava:listenablefuture:1.0)

I working with flutter application I update firebase plugins in my pubspec file then suddenly this issue arises. I don't know how to solve this. please help

Upvotes: 2

Views: 469

Answers (1)

Kasun Thilina
Kasun Thilina

Reputation: 1691

add implementation 'com.google.guava:guava:28.2-android' to your android projects build.gradle file. That'll solve this issue

Upvotes: 1

Related Questions