错误1:不是内部或外部命令
C:\Users\fudae>adb logcat | grep START
'grep' 不是内部或外部命令,也不是可运行的程序或批处理文件。
正确应为adb shell "logcat | grep START"
每次shell后都要用""
错误2:
adb server version (31) doesn't match this client (39); killing...could not read ok from ADB Server
* failed to start daemon
error: cannot connect to daemon
解决方法:卸载360手机助手,结束进程