Skip to content
Advertisement

Android Studio class file for com.google.common.util.concurrent.ListenableFuture not found

I cannot build my project due to it failing because it cannot find a class. Is there something wrong with my sdk or dependancies?

I have tried invalidating cache and restarting. I am using api 29.

The following is where the error shows up

JavaScript

Here is the error printout

JavaScript

and my dependancies

JavaScript

any help is appreciated

Advertisement

Answer

There is an issue with the exoplayer library conflicting with listenablefuture causing it not to be found. READ MORE

you can include guava implementation 'com.google.guava:guava:29.0-android' to fix this

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement