i am getting this error when i typing this command

764 views Asked by At

C:\Users\hp>adb shell dumpsys window | find "mCurrentFocus" 'find' is not recognized as an internal or external command, operable program or batch file.

C:\Users\hp>adb shell dumpsys window | find "mCurrentFocus" 'find' is not recognized as an internal or external command, operable program or batch file.

1

There are 1 answers

0
user22652203 On

In windows find don't exist, you need to put findstr or you can do adb shell after this use grep like this. adb shell dumpsys window displays| findstr "mCurrentFocus"

adb shell dumpsys window displays| grep "mCurrentFocus"