i am getting this error when i typing this command

744 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 best solutions below

0
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"