Android adb shell am broadcast: Bad component name

后端 未结 4 1338
说谎
说谎 2020-12-07 20:32

I am trying to \'emulate\' a reboot (or anything else with the adb shell am) and am unable to figure out how to reference my component. Then again, maybe I don

4条回答
  •  无人及你
    2020-12-07 21:05

    Broadcast does not require specify any Receiver. This case, please just stroke

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

    Hope this help.

提交回复
热议问题