Mac 下启动Appium session 出现如下报错An unknown server-side error occurred while processing the command. Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported. ...解决方案

一、问题描述

  Mac 下启动Appium session 出现如下报错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

 

二、解决方案

  找到configurations 配置环境变量之后重启即可解决,如下图

  

 

posted @ 2022-05-06 18:03  梅梅不想踩坑  阅读(2612)  评论(0编辑  收藏  举报