androidconfigurationmacos

Where to install Android SDK on Mac OS X?


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


Solution

  • 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