查看运行的进程:
查看所有进程
adb shell ps
查看指定包名的进程
adb shell ps | grep "com.tencent.qq"
强杀正在运行的进程:
指定pid强杀:
adb shell kill pid
指定包名强杀:
adb shell am force-stop com.taobao.taobao
启动acitvity:
adb shell am start -n com.tencent.qq/.HomeActivity
adb shell ps
adb shell ps | grep "com.tencent.qq"
adb shell kill pid
adb shell am force-stop com.taobao.taobao
adb shell am start -n com.tencent.qq/.HomeActivity