Configuring Android Debug Bridge adb in terminal on MAC

1. cd into the home directory.

cd ~

2. Open the .bash_profile and add the following lines to it.

export ANDROID_HOME=/Users/your_user_name/Library/Android/sdk/platform-tools
export PATH=$PATH:$ANDROID_HOME

3. Initialize the .bash_profile with this command line or restart terminal

source .bash_profile

4. Try adb commands

Search within Codexpedia

Custom Search

Search the entire web

Custom Search