app启动:
冷启动和热启动
冷启动方式:
adb shell am start -W -n package/activity
停止app命令:
adb shell am force-stop package
热启动命令和冷启动命令一样
停止命令:
adb shell input keyevent 3
查看package/activity命令:
1、adb shell
logcat |grep START
2、adb logcat |findstr START