
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=$:$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 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/
HOW TO ADD ADB IN ANDROID STUDIO FOR 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)
HOW TO ADD ADB IN ANDROID STUDIO INSTALL
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. 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.
