So many Android users own a Mac computer but it’s bit difficult to work with Android on Mac, however if Android SDK are installed on it, your work is pretty easy, so those of you own a computer running Mac OS and looking for a easy to guide to set up ADB on the Mac, your search is over now, here you can install Android SDK on Mac, thanks to senior XDA developer member AshtonTS.
Windows users head can install SDK here.
How to install Android SDK on Mac
Step #1: Make a new folder named “Android” on your Mac (make on desktop).
Step #2: Download Android SDK package to your Mac instead of complete SDK package.
Step #3: Unzip the downloaded .zip file and place the contents of obtained “android-sdk-mac_x86″ into the android folder of step 1.
Step #4: Open up android folder.
Step #5: There, go to the tools folder, then run the file named “android”/”android sdk”, it will open up a terminal window.
Step #6: Once the opening is done, make sure the both “Android SDK Tools” and “Android SDK Platform-tools” in the tools folder (as shown in below screenshot), then click install and wait for them to download.
Step #7: Once the downloading is done, open the platform-tools folder from android folder, there copy adb and fastboot and paste them into the root of your android folder.
Step #8: The ADB and fastboot are installed on your Mac’s check them, so on Android device turn the USB Debugging on, to do so just tap Menu> Settings> Application> Development or Setting>developer option. Then plug your phone to Mac using USB cable.
Step #9: Open the terminal window, you can find it at Applications > Utilities.
Step #10: Enter following command:
Step #11: Execute the adb or fastboot command, to do so, type “./adb (or fastboot) <command>” For this tutorial, you’re using “ADB devices” since it doesn’t actually do anything to the phone, we will not use fastboot in this guide since it requires rebooting to the boot loader which is different for every device, so enter following command:
The above command will show up the serial number of your Android device.
(if it says * daemon not running. starting it now on port 5037 * daemon started successfully * that is perfectly normal.
Step #12: Both ADB and Fastboot can be used now, however it’s very annoying to have to CD into the directory and use ./ in front of every terminal command. So if you don’t want to do any that, simply open a new terminal window and enter following command:
It’s important to note your window might be blank because here’s so many are added:
Step #13: Enter following command,
Once you have added that, press CTRL+X to exit, then Y to confirm the save then press enter to close the nano editor. Now close the terminal window.
Step #14: To verify, open a terminal window and enter following command, it’ll show the serial number of your device:
That’s it, enjoy! You can visit the original thread of XDA here to thanks/donate the developer for this great effort.