當我的應用程序崩潰時,我在logcat中發現了以下錯誤。但我不明白這個錯誤究竟意味着什麼。如果有人知道,請解釋爲什麼這種崩潰發生。只是有時會發生崩潰。應用程序崩潰
java.lang.IllegalArgumentException: Receiver not registered: [email protected]
at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:634)
at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:875)
at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:331)
at android.widget.ViewFlipper.onDetachedFromWindow(ViewFlipper.java:104)
at android.view.View.dispatchDetachedFromWindow(View.java:6235)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1250)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1248)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1248)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1248)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1248)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1248)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1248)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1248)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1248)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:1248)
at android.view.ViewRoot.dispatchDetachedFromWindow(ViewRoot.java:1838)
at android.view.ViewRoot.doDie(ViewRoot.java:2916)
at android.view.ViewRoot.die(ViewRoot.java:2886)
at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:254)
at android.view.Window$LocalWindowManager.removeViewImmediate(Window.java:445)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3182)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3287)
at android.app.ActivityThread.access$1600(ActivityThread.java:132)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1042)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:4293)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
這是'IllegalArgumentException'。從外觀上看,你可能還沒有註冊你的'ViewFlipper'小工具/接收器。如果您尚未這樣做,請嘗試將其添加到清單中。請張貼您的代碼,以便弄清楚這些東西。 – Ghost 2012-01-05 12:39:25
您是否使用過任何進度對話框或任何其他對話框? – 2012-01-05 13:32:42