安装sdk
brew cask install android-sdk
配置Path环境
vim ~/.bash_profile
设置路径
#Setting PATH for android-sdk
export ANDROID_SDK_ROOT=/usr/local/share/android-sdk
export PATH="${PATH}:${ANDROID_SDK_ROOT}/tools:${ANDROID_SDK_ROOT}/platform-tools"
安装sdk
brew cask install android-sdk
配置Path环境
vim ~/.bash_profile
设置路径
#Setting PATH for android-sdk
export ANDROID_SDK_ROOT=/usr/local/share/android-sdk
export PATH="${PATH}:${ANDROID_SDK_ROOT}/tools:${ANDROID_SDK_ROOT}/platform-tools"
转载于:https://www.cnblogs.com/smart-girl/p/10790079.html