1、-bash: findstr: command not found
在path中追加:%SystemRoot%/system32;%SystemRoot%;
2、app无法启动,java.lang.SecurityException: Permission Denial: starting Intent
adb logcat |grep START
重新获取入口Activity
adb shell dumpsys activity | findstr "Card"
adb shell dumpsys window w |findstr \/ |findstr name=
3、
get_window_size 方法报错
python日志:Message: That URL did not map to a valid JSONWP resource
appium日志:GET /session/$sessionId/window/rect 404
appium版本1.4.16会有此问题,更新版appium1.22.0解决