Duplicate class ListenableFuture after update
See original GitHub issue[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs in the code in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:
- For general technical questions, post a question on StackOverflow with the firebase tag.
- For general Firebase discussion, use the firebase-talk google group.
- For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel.
[REQUIRED] Step 2: Describe your environment
- Android Studio version: 3.6.1
- Firebase Component: Firestore
- Component version: 21.4.1
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
After update Firebase BoM to 25.0.0 build failed:
Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules jetified-guava-26.0-android.jar (com.google.guava:guava:26.0-android) and jetified-listenablefuture-1.0.jar (com.google.guava:listenablefuture:1.0)
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
android - Duplicate class com.google.common.util.concurrent ...
Version 27.0.1 worked for me after getting "Cannot access class 'com.google.common.util.concurrent.ListenableFuture'." error with io ...
Read more >Duplicate class com.google.common.util ... - Google Groups
The latest version is 30.0-jre or 30.0-android, which depends on version 9999.0-empty-to-avoid-conflict-with-guava of listenablefuture, which is empty. See ...
Read more >Duplicate class com.google.common.util.concurrent ...
configurations { // Resolves dependency conflict caused by some dependencies use // com.google.guava:guava and com.google.guava:listenablefuture together.
Read more >Duplicate class com.google.common.util.concurrent ...
Coding example for the question Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules guava-26.0-android.jar.
Read more >[SOLVED] Flutter : Duplicate class com.google.common.util ...
concurrent.ListenableFuture found in modules guava-20.0.jar. Problem. Launching lib\main.dart on sdk gphone x86 in ...
Read more >Top Related Medium Post
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@drusak use this line instead:
The next release of Firestore will drop all direct dependencies on Guava, but our network stack continues to rely on Guava for some of its functionality. We are evaluating moving the network stack off of Guava too, but this will be very long process. Until that happens, issues like the one here will happen from time to time. Note that these conflicts are not Firebase specific, but can happen with any number of packages.