java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

unity3d.com | 6 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.
  1. 0

    Questions in topic: "log"

    rssing.com | 1 year ago
    java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token
  2. 0

    Game Crashing on Android (logs) - Unity Answers

    unity3d.com | 6 months ago
    java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

Root Cause Analysis

  1. java.lang.ClassCastException

    android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

    at com.android.server.am.ActivityRecord.forToken()
  2. Android
    ActivityManagerService.getWindowMode
    1. com.android.server.am.ActivityRecord.forToken(ActivityRecord.java:436)
    2. com.android.server.am.ActivityStack.indexOfTokenLocked(ActivityStack.java:834)
    3. com.android.server.am.ActivityStack.getWindowMode(ActivityStack.java:5303)
    4. com.android.server.am.ActivityManagerService.getWindowMode(ActivityManagerService.java:3523)
    4 frames
  3. Android Platform
    ActivityManagerNative.onTransact
    1. android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1946)
    1 frame
  4. Android
    ActivityManagerService.onTransact
    1. com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2125)
    1 frame
  5. Android Platform
    NativeStart.run
    1. android.os.Binder.execTransact(Binder.java:388)
    2. dalvik.system.NativeStart.run(Native Method)
    2 frames