The use of adb command on android

View installed package names: adb shell pm list packages -3

Check the application startup time: adb shell am start -W package name/started activity

例子:adb shell am start -W com.test.test/com.test.activity.ActivityStart

  • activity: started activity
  • launchState: launch state
  • TotalTime: The time it takes to start the application itself = ThisTime + the time it takes to start resources such as the application application
  • WaitTime: System startup application time = TotalTime + system resource startup time

おすすめ

転載: blog.csdn.net/Steve_XiaoHai/article/details/135402779