0册着、前提:adb shell
1拴孤、ps -A | grep 應(yīng)用名(找出應(yīng)用的進程)
如:ps -A | grep launcher(可以篩選出launcher的進程)
2、kill 1526 (殺死某個進程)
3甲捏、logcat | grep 1526(根據(jù)某個進程篩選logcat)
4演熟、logcat | grep 關(guān)鍵字(根據(jù)關(guān)鍵字篩選logcat)
5、adb install -r -t -d 包名? (安裝應(yīng)用)
6司顿、am broadcast -a android.intent.action.ABCD -es key "value" (-a表示action -es表示String類型的參數(shù) -ei表示int類型)