我制作了一个带有图标和各种关卡的游戏。当我回到主要活动时,我邀请其他人在几秒钟后完成“app已经停止”。 logCat在下面...如果有人知道为什么我一直在寻找...
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: FATAL EXCEPTION: main
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: Process: com.vagreekscript.weebly.www.findthesimilarities, PID: 5022
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@3befaab0 is not valid; is your activity running?
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at android.view.ViewRootImpl.setView(ViewRootImpl.java:575)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:272)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at android.app.Dialog.show(Dialog.java:306)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at android.support.v7.app.AlertDialog$Builder.show(AlertDialog.java:902)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at com.vagreekscript.weebly.www.findthesimilarities.SeventhLevel1$1.onFinish(SeventhLevel1.java:107)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at android.os.CountDownTimer$1.handleMessage(CountDownTimer.java:127)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at android.os.Looper.loop(Looper.java:135)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5274)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:372)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:909)
10-13 17:59:59.860 5022-5022/? E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:704)