java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.systemui/com.android.systemui.recents.RecentsActivity}: java.lang.ClassCastException: android.widget.RelativeLayout cannot be cast to com.android.systemui.recents.views.RecentsEmptyView

GitHub | tbremer19 | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SystemUI crash when opening recents on OOS

    GitHub | 6 months ago | shyim
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.systemui/com.android.systemui.recents.RecentsActivity}: java.lang.ClassCastException: android.widget.RelativeLayout cannot be cast to com.android.systemui.recents.views.RecentsEmptyView
  2. 0

    OxygenOS 3.2.1 Compatibility

    GitHub | 7 months ago | tbremer19
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.systemui/com.android.systemui.recents.RecentsActivity}: java.lang.ClassCastException: android.widget.RelativeLayout cannot be cast to com.android.systemui.recents.views.RecentsEmptyView

    Root Cause Analysis

    1. java.lang.ClassCastException

      android.widget.RelativeLayout cannot be cast to com.android.systemui.recents.views.RecentsEmptyView

      at com.android.systemui.recents.RecentsActivity.onCreate()
    2. com.android.systemui
      RecentsActivity.onCreate
      1. com.android.systemui.recents.RecentsActivity.onCreate(RecentsActivity.java:417)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6304)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2409)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2539)
      5. android.app.ActivityThread.access$900(ActivityThread.java:159)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1384)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:152)
      9. android.app.ActivityThread.main(ActivityThread.java:5507)
      9 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames
    6. XposedBridge
      XposedBridge.main
      1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
      1 frame