/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask install android-sdk
touch ~/.android/repositories.cfg
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"
ionic cordova build android
報錯,找不到Gradle,個人天!!android
brew install gradle
vim .bash_profile // 寫入 export PATH="${PATH}:/usr/local/Cellar/gradle/4.0.1/bin"
gradle -v