码迷,mamicode.com
首页 > 移动开发 > 详细

Appium问题解决方案(7)- Could not find 'adb.exe' in PATH. Please set the ANDROID_HOME environment variable with the Android SDK root directory path

时间:2020-05-20 12:43:19      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:root   路径   original   技术   检查   directory   director   图片   img   

背景:运行代码提示找不到ADB

An 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查看环境变量是否正确配置,若正确配置可以在程序中正确回显你配置的环境变量。

 技术图片

如果你这里出现的是空白页面,那么建议你重新配置,或者直接把对应的路径填上去,然后save and restart

Appium问题解决方案(7)- Could not find 'adb.exe' in PATH. Please set the ANDROID_HOME environment variable with the Android SDK root directory path

标签:root   路径   original   技术   检查   directory   director   图片   img   

原文地址:https://www.cnblogs.com/poloyy/p/12922582.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!