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/ 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) 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. adb is the command line tool to install and run android apps on your phone/emulator Solution I spent quite sometime figuring how to set up adb on Mac, so I figure writing how to set it up might be useful to some people.