Where to install Android SDK on Mac OS X?
The easiest (and standard) way to install Android SDK under OS X is to use brew
.
brew install android-sdk
If you do not have homebrew, here's how to get it.
This will install Android SDK into /usr/local/Cellar/android-sdk/
and, at this moment, this is the best location to install it.
In homebrew the android-sdk
has migrated from homebrew/core
to homebrew/cask
.
brew tap homebrew/cask
and install android-sdk
using
brew install android-sdk --cask
You will have to add the ANDROID_HOME
to profile (.zshrc or .bashrc)
export ANDROID_HOME=/usr/local/share/android-sdk
If you prefer otherwise, copy the package to
~/opt/local/android-sdk-mac