20211208遇到问题

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解决

 

posted @ 2021-12-08 01:23  轻幻  阅读(142)  评论(0)    收藏  举报