caswhich.blogg.se

Install android studio on mac
Install android studio on mac











Option 3 - If you already have Android Studio installedĪdd platform-tools to your path echo 'export ANDROID_HOME=/Users/$USER/Library/Android/sdk' > ~/.bash_profileĮcho 'export PATH="$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools"' > ~/.bash_profile Refresh your bash profile (or restart your terminal app) source ~/.bash_profile Mv platform-tools/ ~/.android-sdk-macosx/platform-toolsĪdd platform-tools to your path echo 'export PATH=$PATH:~/.android-sdk-macosx/platform-tools/' > ~/.bash_profile

install android studio on mac

Move them somewhere you won't accidentally delete them mkdir ~/.android-sdk-macosx Unzip the tools you downloaded unzip platform-tools-latest*.zip Go to your Downloads folder cd ~/Downloads/

install android studio on mac

Navigate to and click on the SDK Platform-Tools for Mac link. This is the easiest way to get a manual installation of ADB and Fastboot.ĭelete your old installation (optional) rm -rf ~/.android-sdk-macosx/ Option 2 - Manually (just the platform tools) Or try a cask install depending on your settings: brew install -cask android-platform-tools Install adb brew install android-platform-tools Install homebrew /bin/bash -c "$(curl -fsSL )" This is the easiest way and will provide automatic updates.

install android studio on mac

Note for zsh users: replace all references to ~/.bash_profile with ~/.zshrc. Note: this was originally written on Installing ADB on macOS but that question was closed as a duplicate of this one.













Install android studio on mac