-
Notifications
You must be signed in to change notification settings - Fork 706
Closed
Labels
Description
Version
Media3 main branch
More version details
Devices that reproduce the issue
API 23 emulator
Devices that do not reproduce the issue
N/A
Reproducible in the demo app?
Yes
Reproduction steps
- Open the session-demo app
Expected result
It works
Actual result
2025-12-27 13:25:01.830 4306-4306 AndroidRuntime androidx.media3.demo.session E FATAL EXCEPTION: main
Process: androidx.media3.demo.session, PID: 4306
java.lang.NoClassDefFoundError: androidx.media3.cast.MediaRouteButtonFactory$$ExternalSyntheticLambda0
at androidx.media3.cast.MediaRouteButtonFactory.setUpMediaRouteButton(MediaRouteButtonFactory.java:174)
at androidx.media3.cast.MediaRouteButtonFactory.setUpMediaRouteButton(MediaRouteButtonFactory.java:147)
at androidx.media3.demo.session.MainActivity.onCreateOptionsMenu(MainActivity.kt:106)
at android.app.Activity.onCreatePanelMenu(Activity.java:2846)
at androidx.activity.ComponentActivity.onCreatePanelMenu(ComponentActivity.java:520)
at androidx.fragment.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:287)
at androidx.appcompat.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:95)
at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.onCreatePanelMenu(AppCompatDelegateImpl.java:3429)
at leakcanary.FixedWindowCallback.onCreatePanelMenu(FixedWindowCallback.java:63)
at androidx.appcompat.app.AppCompatDelegateImpl.preparePanel(AppCompatDelegateImpl.java:2027)
at androidx.appcompat.app.AppCompatDelegateImpl.doInvalidatePanelMenu(AppCompatDelegateImpl.java:2313)
at androidx.appcompat.app.AppCompatDelegateImpl$2.run(AppCompatDelegateImpl.java:281)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Media
can't even get to the selection screen :)
Bug Report
- You will email the zip file produced by
adb bugreportto android-media-github@google.com after filing this issue.