1、确认手机连接了adb-->检查方式:adb devices 2、手机运行任意app,随意进入一个页面 3、此时cmd运行:adb shell "dumpsys window | grep mCurrentFocus" ...
Windows下: 按下 window键 R键 打开电脑的 运行 窗口,输入 cmd ,进入你的adb.exe所在的目录,输入 adb shell dumpsys window grep mCurrentFocus ,里边的双引号需要加上,Enter键,此时你会看到你要的包名和activity名。 Linux下只需把那个adb语句的双引号去掉就行 原文链接:http: blog.csdn.net ...
2017-02-02 12:35 0 3256 推荐指数:
1、确认手机连接了adb-->检查方式:adb devices 2、手机运行任意app,随意进入一个页面 3、此时cmd运行:adb shell "dumpsys window | grep mCurrentFocus" ...
mCurrentFocus 命令查看当前运行的包名和Activity更清晰。 3.adb 查看前台运行的app ...
adb shell dumpsys activity|grep mResume 或者 adb shelldumpsys window windows | grep -E 'mCurrentFocus' copy 自 http://www.cnblogs.com/tt_mc/p ...
cmd命令中输入:adb shell dumpsys activity activities 在一连串的输出中找到Runing activities com.android.settings是包名. .HWSettings是activitie名称 转载请标明:https ...
/.activity.SplashActivity 或者打开想要知道的app,然后使用dumpsys window| grep mCurrentFo ...
adb shell dumpsys activity|grep mResume 或者 adb shelldumpsys window windows | grep -E 'mCurrentFocus' copy 自 http://www.cnblogs.com ...
通过adb 查看最上层成activity名字: linux: adb shell dumpsys activity | grep "mFocusedActivity" windows: adb shell dumpsys ...
通过adb 查看最上层成activity名字: linux: adb shell dumpsys activity | grep "mFocusedActivity" windows: adb shell dumpsys activity | findstr ...