app启动时间命令

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

 

posted @ 2017-01-04 19:05  wsy11  阅读(224)  评论(0编辑  收藏  举报