Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 564 Bytes

adb.md

File metadata and controls

43 lines (29 loc) · 564 Bytes

adb

安裝 apk

adb install -r ${apk}

清除資料

adb shell pm clear `adb shell pm list packages ${部分名稱}`

移除 app

adb shell pm uninstall `adb shell pm list packages ${部分名稱}`

列出 apps

adb shell pm list packages ${部分名稱}

強制停止 app

adb shell am force-stop `adb shell pm list packages ${部分名稱}`

or

adb shell am kill `adb shell pm list packages ${部分名稱}`

喚醒手機

adb shell input keyevent 82 # KeyEvent.KEYCODE_MENU