Where should the Android SDK be installed 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
When I installed Android Studio 1.0 it ended up in
/Library/Android/sdk/
My personal preference is to put it in ~/opt/local/android-sdk-mac
or /Developer/android-sdk-mac
the latter being where Xcode and all the Apple Dev tools are held.
By default the android sdk installer path is ~/Library/Android/sdk/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With