Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n

目录

一、异常如下:

An unknown server-side error occurred while processing the command. Original error: Could not find 'adb.exe' in PATH. Please set the ANDROID_HOME or ANDROID_SDK_ROOT environment variables to the corect Android SDK root directory path.

二、解决如下:

2.1你的ANDROID_HOME环境变量没配置好

2.1.1右键点击我的电脑--->属性,点击高级系统设置!再点击环境变量

2.1.2配置ANDROID_HOME(路径填写你sdk所在路径!!!)

2.2把Appium关闭并以管理员身份运行重新运行

2.3看编辑配置路径对不对有没有配置上

注意!!!!!!!!!!!!!

如果:错误,无法连接到服务器;您确定要运行吗?

​解决:



一、异常如下:

An unknown server-side error occurred while processing the command. Original error: Could not find 'adb.exe' in PATH. Please set the ANDROID_HOME or ANDROID_SDK_ROOT environment variables to the corect Android SDK root directory path.

Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n

二、解决如下:

2.1你的ANDROID_HOME环境变量没配置好

2.1.1右键点击我的电脑--->属性,点击高级系统设置!再点击环境变量

Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n

Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n

Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n

2.1.2配置ANDROID_HOME(路径填写你sdk所在路径!!!)

Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n

2.2把Appium关闭并以管理员身份运行重新运行

Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n

2.3看编辑配置路径对不对有没有配置上

Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n

Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n

注意!!!!!!!!!!!!!

Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n

如果:错误,无法连接到服务器;您确定要运行吗?

Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n 解决:

Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n