
This fixes the "cannot access ListenableFuture" build error, even though it seems on the surface like we shouldn't need a Guava dependency here. There's more info about what's going on here: https://blog.gradle.org/guava PiperOrigin-RevId: 312712991
ExoPlayer WorkManager extension
This extension provides a Scheduler implementation which uses WorkManager.
Getting the extension
The easiest way to use the extension is to add it as a gradle dependency:
implementation 'com.google.android.exoplayer:extension-workmanager:2.X.X'
where 2.X.X
is the version, which must match the version of the ExoPlayer
library being used.
Alternatively, you can clone the ExoPlayer repository and depend on the module locally. Instructions for doing this can be found in ExoPlayer's top level README.