Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Proper location to install Android SDK on Mac [duplicate]

Where should the Android SDK be installed on Mac OS X?

like image 280
Carl Manaster Avatar asked Apr 20 '10 17:04

Carl Manaster


5 Answers

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.

like image 108
sorin Avatar answered Dec 17 '22 19:12

sorin


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
like image 31
gmuraleekrishna Avatar answered Dec 17 '22 20:12

gmuraleekrishna


When I installed Android Studio 1.0 it ended up in

/Library/Android/sdk/

like image 38
rara Avatar answered Dec 17 '22 18:12

rara


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.

like image 25
John Wang Avatar answered Dec 17 '22 20:12

John Wang


By default the android sdk installer path is ~/Library/Android/sdk/

like image 30
Weston Ganger Avatar answered Dec 17 '22 20:12

Weston Ganger