错误:创建会话失败。 处理命令时发生未知的服务器端错误。原始错误:本地文件系统上不存在 Android SDK 根文件夹“/rekha/Library/Android/sdk”。阅读 https://developer.android.com/studio/command-line/variables 了解更多详细信息 在 Object.startWebDriverSession (/Users/rekha/Web/appium-playground/node_modules/webdriver/build/utils.js:68:15) 在 processTicksAndRejections (节点:内部/进程/task_queues:94:5) 在 async Function.newSession (/Users/rekha/Web/appium-playground/node_modules/webdriver/build/index.js:58:45) 在 async Object.exports.remote (/Users/rekha/Web/appium-playground/node_modules/webdriverio/build/index.js:67:22) 在异步主(/Users/rekha/Web/appium-playground/index.js:19:20)
Run Appium-doctor --android to see where it locates the Android Sdk.
Copy that value an paste it in the Android edit configurations.