-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExoPlayer dependencies make com.google.common not available #7993
Comments
Thanks for the example project, I can repro your problem. I believe this is related to Guava publishing There's some more info about this in the Duplication troubles section here: https://blog.gradle.org/guava It looks like CameraX declares ExoPlayer 2.12.0 declares Gradle's version resolution "correctly" replaces CameraX's You can fix this by directly depending on Guava from your app's
|
Here again just to say thank you @icbaker. Your answer was perfect. |
[REQUIRED] Issue description
After adding ExoPlayer dependencies
com.google.common
is not longer available.If you remove ExoPlayer dependencies the package is avaiable.
[REQUIRED] Reproduction steps
Add CameraX dependencies
Add ExoPlayer dependencies
[REQUIRED] Link to test content
Example Repo with issue
This repo has 2 commits. ExoPlayer dependencies are added in the last one.
[REQUIRED] Version of ExoPlayer being used
2.12.0
[REQUIRED] Device(s) and version(s) of Android being used
Android Studio 4.0.1
Why is this happening?
The text was updated successfully, but these errors were encountered: