【发布时间】:2018-06-23 13:50:51
【问题描述】:
有人知道这个故障转储是什么意思吗?
当应用程序从手机重启 BroadcastReceiver 启动时,我得到它。如果它从应用程序本身(应用程序活动)启动,它不会崩溃
java.lang.RuntimeException:
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3399)
at android.app.ActivityThread.-wrap18 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1780)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6944)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
Caused by: java.lang.IllegalStateException:
at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1538)
at android.app.ContextImpl.startService (ContextImpl.java:1484)
at android.content.ContextWrapper.startService (ContextWrapper.java:663)
at md5922925ce4b86bef9f24d805446f8ebdd.BootReceiver.n_onReceive (Native Method)
at md5922925ce4b86bef9f24d805446f8ebdd.BootReceiver.onReceive (BootReceiver.java:29)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3392)
【问题讨论】: