Set up adb on Mac OS X

3 steps to easily access adb tool on MacOS

1. Add platform-tools to your path:

echo 'export ANDROID_HOME=/Users/$USER/Library/Android/sdk' >> ~/.bash_profile
echo 'export PATH={$PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools' >> ~/.bash_profile

2. Refresh your bash profile (or restart your terminal app):

source ~/.bash_profile

3. Start using adb:

adb devices

Leave a reply

Your email address will not be published.

You may also like