查询 程序 启动时间

第一步:先查询  设置的 包名 和界面名

 

输入命令adb shell dumpsys window windows | findstr mFocusedApp-----------------------一个window 个windows
打印出

mFocusedApp=AppWindowToken{45a0499 token=Token{db88be3 ActivityRecord{2fbb3812 u0 com.android.settings/.Settings t9}}}

第二步:查询启动时间

adb shell am start -W 包名 /界面名
输入命令 adb shell am start -W com.android.settings/.Settings
posted @ 2020-07-17 19:22  胖豆芽  阅读(235)  评论(0编辑  收藏  举报