Dears,
This case isn't easy to reprocude, but it is really happened. It
seems onDestroy called before onResume. Would you please have some
advices? Thanks
08-21 01:16:10.648 W/WindowManager( 63): Attempted to add
application window with unknown token HistoryRecord{43c1f000
{com.android.mytest/com.android.mytest.TestActivity}}. Aborting.
...
08-21 01:16:14.387 D/AndroidRuntime(11190): Shutting down VM
...
08-21 01:16:22.048 E/AndroidRuntime(11190): android.view.WindowManager
$BadTokenException: Unable to add window -- token
android.os.binderpr...@43a9ba30 is not valid; is your activity
running?
08-21 01:16:22.048 E/AndroidRuntime(11190): at
android.view.ViewRoot.setView(ViewRoot.java:428)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:178)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
08-21 01:16:22.048 E/AndroidRuntime(11190): at android.view.Window
$LocalWindowManager.addView(Window.java:392)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:
2674)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2287)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
android.os.Handler.dispatchMessage(Handler.java:99)
08-21 01:16:22.048 E/AndroidRuntime(11190): at android.os.Looper.loop
(Looper.java:123)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
android.app.ActivityThread.main(ActivityThread.java:3948)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
java.lang.reflect.Method.invokeNative(Native Method)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
java.lang.reflect.Method.invoke(Method.java:521)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:782)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
08-21 01:16:22.048 E/AndroidRuntime(11190): at
dalvik.system.NativeStart.main(Native Method)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---