查询 程序 启动时间

时间:2020-07-17 22:38:11   收藏:0   阅读:61

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

 

输入命令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

原文:https://www.cnblogs.com/fanqiusha1988/p/13332284.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!