Summary
The project depends on com.google.android.exoplayer:exoplayer:2.19.1, which is deprecated and no longer receiving new features. Google has migrated ExoPlayer to AndroidX Media3.
Impact
- ExoPlayer 2.x is in maintenance-only mode; no new features are added.
- Building against deprecated libraries increases future technical debt.
- Media3 is the recommended library for all new Android media development.
- The project's
demos/youtube and any other screens using ExoPlayer will need updating.
Proposed Changes
- Replace
com.google.android.exoplayer:exoplayer:2.19.1 with:
androidx.media3:media3-exoplayer:1.x.x
androidx.media3:media3-ui:1.x.x
- Update import statements in all usages from
com.google.android.exoplayer2.* to androidx.media3.*.
- Update
Versions.kt to remove the exoplayer entry and add a media3 entry.
- Update
Dependencies.kt and GroupedDependencies.kt accordingly.
- Test playback in the YouTube demo screen.
References
Summary
The project depends on
com.google.android.exoplayer:exoplayer:2.19.1, which is deprecated and no longer receiving new features. Google has migrated ExoPlayer to AndroidX Media3.Impact
demos/youtubeand any other screens using ExoPlayer will need updating.Proposed Changes
com.google.android.exoplayer:exoplayer:2.19.1with:com.google.android.exoplayer2.*toandroidx.media3.*.Versions.ktto remove theexoplayerentry and add amedia3entry.Dependencies.ktandGroupedDependencies.ktaccordingly.References