APP专项测试1 ---启动时间cmd命令

adb shell “logcat | grep START” 查看包名

ThisTime 命令行启动时间

启动时间---冷启动

adb shell am start -W -n package/activity

停止app启动

Adb  shell am force-stop package

热启动

通过命令adb shell am start -W -n 包名/activity 

热启动停止

adb shell input keyevent 3 

原文地址:https://www.cnblogs.com/lexus168/p/12689596.html