This tutorial is about how to install ADB on Windows, macOS, Linux and Chrome OS. We will do our best for you to understand this guide. I hope you will like this blog How to Install ADB on Windows, macOS, Linux, and Chrome OS. If your answer is yes, please share after reading this.
Check how to install ADB on Windows, macOS, Linux and Chrome OS
Many features of the Android platform are only accessible through paths and methods that are hidden from the average user. These are usually done using some Android Debug Bridge (ADB) command line commands, a tool that Google provides developers to debug their applications or various parts of the system, but that we can use at all kinds of purposes. You can cheat by clean and hidden. A prerequisite for these cheats is to have ADB installed on your computer. Therefore, in this guide, we will show you how to install ADB on Windows, macOS and Linux in a few easy and quick steps.
Configure your Android device for ADB
Even if you install ADB on your computer, it is of no use unless you first configure your Android device to work with ADB. So, if you don’t know how to do this, follow the steps below to find out.
- Open Settings on your Android device and go to “About phone”. Here, press “Build Number” 7 times in a row. Please note that since Android devices have a different skin, the “Build Number” page may be kept on other pages.
- This will enable “Developer options” on your Android device. Go to “System”, then open Developer Options and enable “USB Debugging”. Now, whenever you connect your Android device to computer, select “File Transfer (MTP)” mode. You are finished on the front of the device. The next step now is to configure ADB on your computer.
Install ADB on Windows
- First, please download ADB Platform Tools for Windows from Google official page. Once downloaded, extract the contents of this file to your Windows PC using a file archiving utility like WinRAR.
- Now head to the extracted folder and click on the address bar. Now type “cmd” and hit enter. Instantly, a command prompt window will open in the ADB directory.
- After that, connect your Android device to Windows PC and run adb devices command.
- A “USB Debugging” message will appear on your smartphone. Check the “Always allow” box, then tap “Allow”.
- Now you should see your device’s serial number in the command prompt window. If it doesn’t detect your device then run adb devices again and this time it will definitely detect your device. Congratulations! ADB is now successfully installed on your Windows PC.
Install ADB on macOS
Here, we’ll take a slightly different route to installing ADB on macOS. We will need to install Homebrew on macOS first, then we can easily install the Android platform tools. Homebrew is an open source package manager that installs missing packages. So with all that said, we start here.
- First, open Terminal on your Mac and run the following command. It will install Homebrew on your Mac. During installation, it may ask you for your password. The whole installation will take about 10 minutes.
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
- After that, install ADB Platform Tools from the following command.
brew cask install android-platform-tools
- Now connect the Android device to your Mac and run the adb devices command. You will receive a message on your Android device to allow USB debugging. So, just enable the checkbox and tap “Allow”.
- You should now see your device’s serial number on Mac. This means that ADB has been successfully installed on your Mac.
Install ADB on Linux
- Download ADB Platform Tools for Linux from the official Google page and unzip the file to a suitable location such as your home directory.
- After that, open the Linux terminal and navigate to the location of the extracted folder. Run the following command to access the particular folder. Be sure to replace the username with your current Linux username.
- Plug in your Android device and run the adb devices command in the Linux terminal. On your Android device, check the “Always allow” box, then press the “OK” button.
- Finally, your Android device will appear in the Linux terminal along with the serial number. Here’s how to install and configure ADB on Linux systems.
Install ADB on Chrome OS
Before continuing, let me clarify that your Chromebook must be compatible with the Play Store; Chrome OS must be in the developer channel and Linux must be activated on your machine. To switch to developer channel, open Settings -> About Chrome OS -> Additional details -> Change channel to developer. Now that we’ve said all that, let’s learn how to install ADB on Chrome OS.
- First, open Settings and go to Linux -> Develop Android apps -> Enable ADB debugging option. Now restart your Chromebook and an ADB prompt will appear after the restart. Click “Allow” and proceed to the next step.
- Now open the Linux terminal from the app drawer and run the following command to install the ADB platform tools. Also press “Y” to authorize the installation.
sudo apt-get install android-tools-adb
- After installation, connect your Android device to the Chromebook. You will receive a notice on your Chromebook about the detection of a USB device. Now click on “Connect to Linux”.
- Return to the Linux terminal, run the command adb devices and a prompt will appear on your Android device. Check the “Always allow” box and then press the “OK” button. Congratulations, you have successfully configured ADB on Chrome OS.
- If the terminal shows the error “Permission denied” or “Command not found”, first run the adb start-server command and then try the adb devices command again.
Final Words: How to Install ADB on Windows, macOS, Linux, and Chrome OS
Hope you understand this article How to Install ADB on Windows, macOS, Linux, and Chrome OS, if your answer is no, you can ask anything via the contact forum section linked to this article. And if your answer is yes, share this article with your family and friends.