You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app I work for started to crash after updating media3 to v1.3.1, rollback to v1.3.0 works fine, that's the stack trace and the crash is internally on media3 library:
FATAL EXCEPTION: ExoPlayer:Playback
Process: com.hearst.android.wmur, PID: 3137
java.lang.NoSuchMethodError: No interface method stream()Ljava/util/stream/Stream; in class Ljava/util/List; or its super classes (declaration of 'java.util.List' appears in /system/framework/core-libart.jar)
at androidx.media3.common.Format.<init>(Format.java:982)
at androidx.media3.common.Format.<init>(Format.java:128)
at androidx.media3.common.Format$Builder.build(Format.java:720)
at androidx.media3.common.Format.copyWithCryptoType(Format.java:1116)
at androidx.media3.exoplayer.hls.HlsSampleStreamWrapper.createTrackGroupArrayWithDrmInfo(HlsSampleStreamWrapper.java:1467)
at androidx.media3.exoplayer.hls.HlsSampleStreamWrapper.prepareWithMultivariantPlaylistInfo(HlsSampleStreamWrapper.java:277)
at androidx.media3.exoplayer.hls.HlsMediaPeriod.buildAndPrepareSampleStreamWrappers(HlsMediaPeriod.java:541)
at androidx.media3.exoplayer.hls.HlsMediaPeriod.prepare(HlsMediaPeriod.java:183)
at androidx.media3.exoplayer.source.MaskingMediaPeriod.createPeriod(MaskingMediaPeriod.java:133)
at androidx.media3.exoplayer.source.MaskingMediaSource.onChildSourceInfoRefreshed(MaskingMediaSource.java:213)
at androidx.media3.exoplayer.source.WrappingMediaSource.onChildSourceInfoRefreshed(WrappingMediaSource.java:154)
at androidx.media3.exoplayer.source.WrappingMediaSource.onChildSourceInfoRefreshed(WrappingMediaSource.java:49)
at androidx.media3.exoplayer.source.CompositeMediaSource.lambda$prepareChildSource$0$androidx-media3-exoplayer-source-CompositeMediaSource(CompositeMediaSource.java:117)
at androidx.media3.exoplayer.source.CompositeMediaSource$$ExternalSyntheticLambda0.onSourceInfoRefreshed(D8$$SyntheticClass)
at androidx.media3.exoplayer.source.BaseMediaSource.refreshSourceInfo(BaseMediaSource.java:90)
at androidx.media3.exoplayer.hls.HlsMediaSource.onPrimaryPlaylistRefreshed(HlsMediaSource.java:565)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker.onPlaylistUpdated(DefaultHlsPlaylistTracker.java:428)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker.access$1500(DefaultHlsPlaylistTracker.java:54)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker$MediaPlaylistBundle.processLoadedPlaylist(DefaultHlsPlaylistTracker.java:726)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker$MediaPlaylistBundle.onLoadCompleted(DefaultHlsPlaylistTracker.java:586)
at androidx.media3.exoplayer.hls.playlist.DefaultHlsPlaylistTracker$MediaPlaylistBundle.onLoadCompleted(DefaultHlsPlaylistTracker.java:514)
at androidx.media3.exoplayer.upstream.Loader$LoadTask.handleMessage(Loader.java:487)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
The text was updated successfully, but these errors were encountered:
It is the same as #1312. Media3 1.3.0 introduced a dependency on core library desuring, the enhanced Java 8 support. We initially thought that would be transparent to apps, but it's not because of a tooling bug that is now fixed. You can work around the issue by turning on the enhanced Java 8 support in your app. See https://developer.android.com/studio/write/java8-support#library-desugaring
The app I work for started to crash after updating media3 to v1.3.1, rollback to v1.3.0 works fine, that's the stack trace and the crash is internally on media3 library:
The text was updated successfully, but these errors were encountered: