我得到這個ClassCaseException -ClassCastException異常:android.os.BinderProxy無法施展
/ActivityManager(213): Bad activity token: [email protected]
W/ActivityManager(213): java.lang.ClassCastException: android.os.BinderProxy cannot be cast to
com.android.server.am.ActivityRecord$TokenW/ActivityManager(213): at
com.android.server.am.ActivityRecord.forToken(ActivityRecord.java:295)
W/ActivityManager(213): at com.android.server.am.ActivityManagerService.configureSoftkeysActivity(ActivityManagerService.java:15095)
W/ActivityManager(213): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1572)W/ActivityManager(213): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1646)
W/ActivityManager(213): at android.os.Binder.execTransact(Binder.java:338)
W/ActivityManager(213): at dalvik.system.NativeStart.run(Native Method)
做任何一件有爲什麼我收到此異常的想法。提前致謝。
在發生此異常的位置添加一些代碼 –