Home Tools Install and Setup ADB on Windows, Mac and Linux

Install and Setup ADB on Windows, Mac and Linux

0
SHARE
install and setup ADB on Windows, Mac and Linux

ADB or Android Debug Bridge is a command line tool that enables you to communicate with an Android device. ADB basically consists of two applications—one running on your computer (Windows, Linux or Mac) and the other running on your Android device. With ADB you can control your device from a computer that is connected via a USB cable or even Wifi. It is a very versatile tool which lets you move files back and forth, install/uninstall apps, run shell commands, and more. Although not everyone appears comfortable with the command line tools such as ADB yet it can be very useful especially if you love to tweak your Android device. For some newbies, it could be difficult to install and setup the ADB tool on their computers. Therefore, we have decided to come up with a general guide to help you install and setup ADB on Windows, Mac and Linux.

Installing ADB on a computer is quite simple nowadays. There was a time when you had to go through the lengthy procedure of installing the Android SDK tools to install the ADB. However, now that you have a simple installation package, you can easily install an setup ADB on Windows, Mac and Linux. All you need now is to download the installer package and install it on your computer. For your ease, we have provided the links for the ADB installer package for Windows, Mac and Linux. In addition to that, we have also listed the necessary instructions to setup the ADB on Windows, Mac and Linux.

Early Preparations

In order to setup the ADB, you will have to enable developer options on your smartphone or tablet. To enable;

  1. Navigate to Settings > About Device.
  2. Tap the number 7 times. It will enable developer options.
  3. Head back to Settings > Developer Options.
  4. Tap on USB Debugging option to enable it.

How to Setup ADB on Windows

  1. Head over to the link and download the ADB zip file for Windows. → Download ADB
  2. Extract the zip file into an easily accessible folder.
  3. Navigate to the folder where you extracted the ZIP file.
  4. In the folder containing the contents of the zip file, open up a Command Prompt.
  5. To open, hold Shift and Right-click within the folder then click the “open command prompt here” option. (Windows 10 users will have “PowerShell” instead of “command prompt”)
  6. Now connect your smartphone or tablet to your computer with a USB cable.
  7. Change the USB mode to “file transfer (MTP)” mode. (some OEMs doesn’t require this)
  8. In the Command Prompt window, enter the following command: adb devices
  9. On your smartphone, you’ll see a message asking whether to allow or deny USB debugging. Grant the access.
  10. That’s it.

How to Setup ADB on Mac

  1. Use the link and download the ADB zip file for Mac. → Download ADB
  2. Extract the contents of zip file to an easily accessible folder.
  3. Now open Terminal.
  4. To browse to the folder you extracted ADB into, enter the following command: cd /path/to/extracted/folder/
  5. Connect your device to your Mac via a USB cable.
  6. Change the USB connection mode to “file transfer (MTP)” mode. (not required for every device)
  7. Once the Terminal is in the same folder your ADB tools are in, execute the following command to launch the ADB: adb devices
  8. On your smartphone, you’ll see a prompt asking whether to allow or deny USB debugging. Grant the access.
  9. That’s it.

How to Setup ADB on Linux

  1. Head over to the provided link and download ADB zip file for Linux. → Download ADB
  2. Extract the zip file to an easily accessible location (e.g Desktop).
  3. Open a Terminal window and enter the following command:  cd /path/to/extracted/folder/
  4. This will change the directory to where you extracted the ADB files.
  5. Connect your device to your Linux machine via a USB cable.
  6. Change the connection mode to “file transfer (MTP)” mode. (not required for every device)
  7. Once the Terminal is in the same folder your ADB tools are in, execute the following command to launch the ADB: adb devices
  8. On your smartphone/tablet, you’ll see a prompt asking whether to allow or deny USB debugging. Grant the access.
  9. That’s it.

If you are facing any issue, let us know via comments.

LEAVE A REPLY

Please enter your comment!
Please enter your name here