ADB, or the Android Debug Bridge, is a command line tool that can be used to communicate with an Android device. ADB is helpful for achieving a bunch of really cool things on your Android phone, including things like taking screenshots. So, if you’re wondering how to install ADB and set it up, here’s what you need to do.
How to Install ADB on Mac
If you’re a Mac user, as I am, you can install ADB tools on your system by just following the steps below.
- First, download the latest version of the Android platform tools (of which ADB is a part) from this link.
- Once you’ve done that, extract it to a location that you can easily access via the Terminal. In my case, I’ve extracted it to a new folder called “ADB” inside the Documents folder on my computer.
- Now, launch the Terminal and use the following command:
- In my case, since I have the ADB folder inside the ADB folder under documents, this is the command I’ll use:
- Now, you can run ADB by using the following command:
- On your phone, you’ll find a prompt asking if you want to allow USB Debugging. Just tap on “Ok”.
- Now type the following command:
- You should see your device’s serial number on the Terminal screen. This means you’re all set to start using ADB on your phone.
How to Install ADB on Windows
If you’re using a Windows computer, you can follow these steps to install ADB on your PC:
- Download the Platform Tools for Windows from this link. Now, extract the downloaded zip file to an easily accessible location.
- Now, head over to the location you extracted the ZIP file in, press “Shift” and right click, and then select “open a command prompt here” or “open a Powershell window here”.
- Connect your phone to your PC via a USB cable, and type in the following command inside command prompt (or Powershell):
- You will see a prompt on your phone to allow or deny USB Debugging access, simply tap on OK.
- Now you can type in the following command:
This time around, you should see your device’s serial number in the command prompt window, and you’re all set to start using ADB on your Windows PC.
Set up ADB and Unlock Cool Things
ADB is a handy tool that’s a must have for anyone who likes to even slightly tinker with their Android devices. ADB opens up a lot of gateways into playing around with your phone. You can take screenshots, record the screen, kill apps, transfer files between the Android device and your computer, and so much more. So, go ahead, install ADB on your Mac or Windows PC and get started on your ADB journey.