In my case, I had to add the following configurations to app’s module build.gradle
:
configurations {
all*.exclude group: 'com.google.guava', module: 'listenablefuture'
}
It happens because some dependencies use com.google.guava:guava
and com.google.guava:listenablefuture
together. It causes a dependency conflict.