Wake up Android with use adb or Eclipse (just before debug)?

后端 未结 9 618
温柔的废话
温柔的废话 2021-01-31 04:45

How to wake up Android with use adb - I want to wake up (if asleep) Android terminal before debugging every new version of application.

Typical flow is: 1. I do some cha

9条回答
  •  清酒与你
    2021-01-31 04:57

    if you execute adb shell input keyevent KEYCODE_POWER and got Killed, you should use root user by execute su before.

    sleep:(adb shell) input keyevent KEYCODE_SLEEP

    wakeup:(adb shell) input keyevent KEYCODE_WAKEUP

    toggle:(adb shell) input keyevent KEYCODE_POWER

提交回复
热议问题