How to debug BOOT_COMPLETE broadcast receiver's “Force Close” crashes?

后端 未结 4 1348
广开言路
广开言路 2021-01-30 18:26

Since the phone restarts and thus gets disconnected from the Eclipse debugger/LogCat while it\'s booting up, how do I see where my boot complete broadcast receiver is crashing?<

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-30 18:56

    Just put to your terminal in Android Studio

    adb shell am broadcast -a android.intent.action.BOOT_COMPLETE

提交回复
热议问题