我使用Nexus 6P
,系統爲Android O Preview 1
。Android O預覽版1無法打開設置,「設置已停止」
我已經使用了兩個月的預覽系統,這是正常的。
今天我想更新系統,我發現我無法打開系統應用程序"Setting"
。它會顯示'Setting has stop'
。
然後我觀看Android Studio
的Logcat
,低於Error
日誌:
07-25 17:16:31.515 21875-21875/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.android.settings, PID: 21875
java.lang.IllegalArgumentException: Receiver not registered: com.androi[email protected]1d9a5b0
at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1152)
at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1422)
at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:639)
at com.android.settings.dashboard.conditional.Condition.onSilenceChanged(Condition.java:115)
at com.android.settings.dashboard.conditional.Condition.setActive(Condition.java:90)
at com.android.settings.dashboard.conditional.CellularDataCondition.refreshState(CellularDataCondition.java:47)
at com.android.settings.dashboard.conditional.ConditionManager.refreshAll(ConditionManager.java:77)
at com.android.settings.dashboard.conditional.ConditionManager$ConditionLoader.onPostExecute(ConditionManager.java:266)
at com.android.settings.dashboard.conditional.ConditionManager$ConditionLoader.onPostExecute(ConditionManager.java:261)
at android.os.AsyncTask.finish(AsyncTask.java:667)
at android.os.AsyncTask.-wrap1(Unknown Source:0)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6535)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
07-25 17:16:31.519 789-2848/? W/ActivityManager: Force finishing activity com.android.settings/.Settings
我現在無法更新,並設置不能打開。我該怎麼辦?
https://stackoverflow.com/questions/6165070/receiver-not-registered-exception-error –
我知道錯誤unregisterReceiver,但它的系統的應用,將「設置「,我不能編輯它的代碼。我不知道爲什麼突然出現錯誤。 –