Appium问题解决方案- Could not find 'adb.exe' in PATH. Please set the ANDROID_HOME environment v

幼敏悟过人,读书辄成诵。这篇文章主要讲述Appium问题解决方案- Could not find ' adb.exe' in PATH. Please set the ANDROID_HOME environment v相关的知识,希望能为你提供帮助。
背景:运行代码提示找不到ADBAn unknown server-side error occurred while processing the command. Original error: Could not find \'adb.exe\' in PATH. Please set the android_HOME environment variable with the Android SDK root directory path.
 
解决方法 步骤一检查下ANDROID_HOME环境变量是否正确配置,配置好之后重启下appium和pycharm  命令行等相关工具
 
步骤二可以通过appium-desktop查看环境变量是否正确配置,若正确配置可以在程序中正确回显你配置的环境变量。
 

Appium问题解决方案- Could not find 'adb.exe' in PATH. Please set the ANDROID_HOME environment v

文章图片

【Appium问题解决方案- Could not find ' adb.exe' in PATH. Please set the ANDROID_HOME environment v】如果你这里出现的是空白页面,那么建议你重新配置,或者直接把对应的路径填上去,然后save and restart

    推荐阅读