当我输入此命令时出现此错误

问题描述 投票:0回答:1

C:\Users\hp>adb shell dumpsys 窗口 |找到“mCurrentFocus” “find”不被识别为内部或外部命令, 可运行的程序或批处理文件。

C:\Users\hp>adb shell dumpsys 窗口 |找到“mCurrentFocus” “find”不被识别为内部或外部命令, 可运行的程序或批处理文件。

shell find dumpsys
1个回答
0
投票

在Windows中find不存在,您需要输入findstr或者您可以在使用grep之后执行adb shell,如下所示。 adb shell dumpsys 窗口显示| findstr "mCurrentFocus"

亚行外壳 dumpsys 窗口显示| grep“mCurrentFocus”

© www.soinside.com 2019 - 2024. All rights reserved.