It is a list of directories, each separated by a colon, in which the shell looks for commands. Note: The PATH variable is the search path for commands. Move the unzipped folder (i.e., “platform-tools”) to a useful location (e.g., I put it in a folder called “android-sdk-macosx” in a folder called “SDKs” in my home directory: ~/SDKs/android-sdk-macosx/platform-tools/).Īdd “platform-tools” to your PATH variable by invoking the following in the Terminal (make sure to change the file path to reflect where you placed the folder “platform-tools” on your system): echo 'export PATH=$PATH:~/SDKs/android-sdk-macosx/platform-tools/' > ~/.bash_profileĮxecute the following command to reload your bash profile (this applies the change to the PATH variable): source ~/.bash_profile Unzip the downloaded file by double-clicking on it. ADB is useful for accessing one or many connected devices (see the above photo).ĭownload the “SDK Platform-Tools for Mac” from:
This tutorial explains how to obtain and install ADB on a Mac. Android Debug Bridge (ADB) is a command-line tool that enables access to connected Android devices.