java.lang.NoClassDefFoundError: android.media.AudioTimestamp

GitHub | tentkotta | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    android.media.AudioTimestamp

    at com.google.android.exoplayer.audio.AudioTrack$AudioTrackUtil.<init>()
  2. com.google.android
    AudioTrack.<init>
    1. com.google.android.exoplayer.audio.AudioTrack$AudioTrackUtil.<init>(AudioTrack.java:1282)
    2. com.google.android.exoplayer.audio.AudioTrack.<init>(AudioTrack.java:305)
    2 frames
  3. Custom implementation of exoplayer with slow motion
    MediaCodecAudioTrackRenderer.<init>
    1. com.google.android.exoplayer.MediaCodecAudioTrackRenderer.<init>(MediaCodecAudioTrackRenderer.java:190)
    1 frame
  4. com.google.android
    HlsRendererBuilder$AsyncRendererBuilder.onSingleManifest
    1. com.google.android.exoplayer.demo.player.HlsRendererBuilder$AsyncRendererBuilder.onSingleManifest(HlsRendererBuilder.java:153)
    2. com.google.android.exoplayer.demo.player.HlsRendererBuilder$AsyncRendererBuilder.onSingleManifest(HlsRendererBuilder.java:91)
    2 frames
  5. Custom implementation of exoplayer with slow motion
    Loader$LoadTask.handleMessage
    1. com.google.android.exoplayer.util.ManifestFetcher$SingleFetchHelper.onLoadCompleted(ManifestFetcher.java:378)
    2. com.google.android.exoplayer.upstream.Loader$LoadTask.handleMessage(Loader.java:245)
    2 frames
  6. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:99)
    2. android.os.Looper.loop(Looper.java:175)
    3. android.app.ActivityThread.main(ActivityThread.java:5279)
    3 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame