AI智能
改变未来

解决:Could not find adb Please set the ANDROID_HOME environment variable with the Android SDK root

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.
解决办法:
1.检查下ANDROID_HOME环境变量是否正确配置,配置好之后重启下appium。
2.可以通过appium-desktop查看环境变量是否正确配置,若正确配置可以在程序中正确回显你配置的环境变量。


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

赞(0) 打赏
未经允许不得转载:爱站程序员基地 » 解决:Could not find adb Please set the ANDROID_HOME environment variable with the Android SDK root