执行自动化脚本过程中,遇到下面的错误
环境:python3.7+Appium桌面版V1.15.0
selenium.common.exceptions.WebDriverException:
Message: An unknown server-side error occurred while processing the command.
Original error: Error executing adbExec.
Original error: 'Command 'C\:\\Users\\xxx\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s MKJNW18110003732 shell cat /proc/net/unix' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability
我测试的手机版本是android 10 ,sdk里的版本不支持,所以一直报这个错,下载最新的sdk后,解决。
sdk的版本一定要兼容你的手机型号
如果Appium的chromedriver.exe的版本高,也可能需要更高版本的sdk的支持