How to Install Android adb & fastboot tools on OSX
Are you looking to configure and play more stuff on your android device? Then you definitely need to install/configure adb & fasboot tools on your machine.
Here is how you can install/configure adb & fastboot tools on OSX.
Download The Tools
Some website like Android Central or XDA offers zip file that come with adb & fastboot tools, but it’s always better to get the official from Google Android Developer download page.
The tools can be downloaded from Android Developer Website at http://developer.android.com.
Look for Develop > Tools > Get the SDK
Next, agree on the license agreement and etc, the download will start immediately
Install and Configure adb & fastboot
Once you unzip the file, you will see 2 folders in the directory, which are eclipse & sdk.
Please ignore eclipse, if you are just a user. eclipse folder is meant for developer use. Before we proceed further, kindly copy the folder “adt-bundle-mac-x86_64-20140321” into your home directory. You home directory will be the directory with your name, you can after change the folder name “adt-bundle-mac-x86_64-20140321” to something simpler and easy to identify like “adt”
Next and also almost the last part of the configuration. Open up your Terminal, edit the file name .profile
# vi .profile
You will see one line with “export PATH=”, in the end of the line, add Android Developer SDK folder that store adb & fastboot which located at “/Users/<yourusername>/adt/sdk/platform-tools”
It will look something like this
Save the file and follow with the command below
# source .profile
Plug your Android phone with the cable onto USB port, run the command
# adb devices
You should be able to see your device listed there. Congrats, you have done the configuration 😉