google / ExoPlayer

An extensible media player for Android
Apache License 2.0
21.66k stars 6k forks source link

Playback failing on Xiaomi AOSP box #8438

Closed logituitrel closed 3 years ago

logituitrel commented 3 years ago

Playback is reported as constantly failing on xiaomi aosp boxes. Observed in logs:

internalError [eventTime=0.01, mediaPos=0.00, window=0, loadError
com.google.android.exoplayer2.upstream.cache.Cache$CacheException: Failed to create cache directory: /storage/emulated/0/Android/data/com.xiaomitv.sonyliv/files/logixplayer
at com.google.android.exoplayer2.upstream.cache.SimpleCache.initialize(SimpleCache.java:522)
at com.google.android.exoplayer2.upstream.cache.SimpleCache.access$000(SimpleCache.java:50)
at com.google.android.exoplayer2.upstream.cache.SimpleCache$1.run(SimpleCache.java:268)
]
andrewlewis commented 3 years ago

Hi! Please provide complete information as requested in the issue template. The issue template can be found here. If you're unable to share bug reports or test content publicly, please send them to dev.exoplayer@gmail.com using a subject in the format "Issue #1234" ("#1234" is replaced with your issue number). Please also update this issue to indicate you've done this.

I think @marcbaechinger's response in #8253 may apply for this case too as the error looks similar.

ojw28 commented 3 years ago

It's possible that the workaround submitted at the bottom of https://github.com/google/ExoPlayer/issues/8253 will fix this issue. Closing as a duplicate in any case, since additional information has not been provided.