- XCode is installed (via the App Store)
- XCode Command Line Tools are installed (
xcode-select --installin Terminal/iTerm)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Make sure the doctor is happy (do what it tells you):
Install Brew Cask
brew tap caskroom/cask
Install Python 3:
brew install python3
Use Homebrew to install Android dev tools:
brew install ant brew install maven brew install gradle brew cask install android-sdk
Install all of the Android SDK components (you will be prompted to agree to license info and then this will take a while to run):
sdkmanager "platform-tools" "platforms;android-27" sdkmanager "build-tools;27.0.3"
Finally update your environment variables:
Update your paths (bonus points to a better solution to the hardcoded build tools version):
export PATH=$ANDROID_HOME/tools:$PATH export PATH=$ANDROID_HOME/platform-tools:$PATH export PATH=$ANDROID_HOME/build-tools/27.0.3:$PATH