20

Mac下用appium-doctor检查Android环境变量时出现问题

Running Android Checks
✖ ANDROID_HOME is set but does not exist on the file system at "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/mac/Downloads/android-sdk-macosx/platform-tools:/Users/mac/Downloads/android-sdk-macosx/tools"
Appium-Doctor detected problems. Please fix and rerun Appium-Doctor.

但是运行 adb -version时已经可以查看版本了

MacdeMBP:~ mac$ adb -version
Android Debug Bridge version 1.0.32

-a - directs adb to listen on all interfaces for a connection
-d - directs command to the only connected USB device
returns an error if more than one USB device is present.
-e - directs command to the only running emulator.
returns an error if more than one emulator is running.

应该怎么办?我完全不知道哪里错了。。。。

查看全部
rjf0214
rjf0214
2015/08/28 05:43
  • appium
  • appium-doctor
  • android
  • mac
  • 点赞
  • 收藏
  • 回答
    私信

1个回复