[Android] Gradle Update 3.4.0 > exoplayer2

 

Change Exoplayer Dependencie

 

implementation 'com.google.android.exoplayer:exoplayer:2.10.0'

implementation 'com.google.android.exoplayer:exoplayer:2.10.0'
 

Unable to resolve com.google.android.exoplayer2 after Gradle update to v 5.4

My project is using com.google.android.exoplayer2. Until today I was at gradle 4.10.1 (android gradle plugin 3.3.1) - all fine. Once i updated to Gradle 5.4.1 exoplayer can not be resolved. Android

stackoverflow.com

 

My project seems ok except this :

mediaDataSourceFactory = new DefaultDataSourceFactory(this, Util.getUserAgent(this, "mediaPlayerSample"), (TransferListener<? super DataSource>) bandwidthMeter);
error: type TransferListener does not take parameters

>

https://github.com/google/ExoPlayer/issues/5475#issuecomment-460962608

 

Compilation problem when updating from 2.8.4 to 2.9 · Issue #5475 · google/ExoPlayer

Hello, I trying to update my exo project from 2.8.4 to 2.9. I changing my compile option (compile 'com.google.android.exoplayer:exoplayer:2.9.0'), adding targetCompatibility JavaVersion.VER...

github.com

 

반응형

+ Recent posts