androidx / media

Jetpack Media3 support libraries for media use cases, including ExoPlayer, an extensible media player for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to import exoplayer UI string resource

pawaom opened this issue · comments

Unable to import exoplayer UI string resource

I was working with the exoplayer main demo in media 3

here

The TrackSelectionDialog contains few string resource which should be included after we include the UI library however they are still not included the following two images explain it better

Screenshot 2024-06-18 145038
Screenshot 2024-06-18 145106

I think they refer to this file

here and others

even after including implementation 'androidx.media3:media3-ui:1.X.X' we are unable to get this resources

how can we include them

These strings moved to the demo app as of ebe74da. I guess your project is using a local checkout of the demo app, but depends on a release version of the UI module? To fix this issue you either need to check out the demo app at the release tag you are depending on, or build the UI module from the main branch as well.

I have used val media3_version = "1.3.1" even then it causes the issue