启动appium session报错:Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported.

报错详情
安装完appium desktop后启动,启动session时报错:

Error
An unknown server-side error occurred while processing the command. Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported. Read https://developer.android.com/studio/command-line/variables for more details

原因
appium desktop未配置环境变量

启动appium session报错:Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported.

 

 


解决方案
点击Edit Configurations配置环境变量后,重启appium desktop即可
启动appium session报错:Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported.

 

上一篇:Appium-Desktop界面介绍


下一篇:WebView技术原理