Android测试启动速度方法

33 阅读1分钟

获取应用的主activity : adb shell dumpsys activity | findstr "mCurrent"

计算启动时间命令:adb shell am start -W 启动的全路径类名 (此处的-W W必须为大写)