启动速度评判标准:

Android APP测启动速度

启动一般分为:

冷启动:首次启动

冷启动命令:adb shell am start -W -n 包名(appPackage)/包名(appPackage).appActivity名

比如:包名是 com.yt.ht   Activity名是 .act.ActPlash,则命令如下,及运行结果如下图

>adb shell am start -W -n com.yt.ht/com.yt.ht.act.ActPlash

Android APP测启动速度

冷启动停止:adb shell am force-stop 包名

热启动:应用切换到后台再次被唤起

热启动命令:adb shell am start -W -n 包名/activity

Android APP测启动速度

热启动停止:adb shell input keyevent 3


相关文章:

  • 2021-06-30
  • 2021-09-09
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2022-02-08
  • 2021-10-08
猜你喜欢
  • 2021-07-26
  • 2021-08-01
  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
相关资源
相似解决方案