banner



How to Install ADB on Windows, macOS, Linux, and Chrome OS

How to Install ADB on Windows, macOS, Linux, and Chrome OS

Android Debugging Bridge (ADB), as the name suggests, is a control-line utility that allows developers to debug various parts of their applications. However, it is not restricted to just developers. If you want to access sure features of the Android platform that are not otherwise accessible, you lot as well tin can use the ADB commands past installing ADB on your computer, be it Windows, macOS, Linux, or Chrome OS. In one case y'all install it, there are numerous cool things that you can do with ADB on your Android device. Plus, at that place are various apps that crave ADB permissions to piece of work. So, if yous have been confused about how to install and employ ADB on Windows, macOS, Linux or Chrome Os, nosotros accept y'all covered.

Setup Your Android Device for ADB

Fifty-fifty if you install ADB on your computer, it is of no use unless you set upwardly your Android device first to work with ADB. Then in case you are not sure how to do that, follow the steps below to observe out.

  • Open Settings on your Android device, and become to "About Phone". Here,tap on "Build number" 7 times consecutively. Keep in listen, as Android devices accept different peel, the 'Build Numer' page may be kept nether some other pages.

Setup Your Android Device for ADB

  • This will enable "Developer options" on your Android device. Head over to "System" and and then open Developer Options andenable "USB debugging". Now, whenever you will connect your Android device to the computer, select the "File transfer (MTP)" mode. You are washed on the device forepart. At present, the side by side step is to prepare upwardly ADB on your computer.

Setup Your Android Device for ADB

Install ADB on Windows

  • Firstly, download the ADB Platform Tools for Windows from Google's official folio. In one case downloaded, extract the contents of this file on your Windows PC using a file archiver utility like WinRAR.

Install ADB on Windows

  • Now caput over to the extracted folder, and click on the address bar. Now, type "cmd" and hit enter. Instantly, a command prompt window volition open up in the ADB directory.

install adb on windows

  • After that, connect your Android device to Windows PC and execute adb devices command.

install adb on windows

  • Information technology will prompt a "USB debugging" prompt on your smartphone. Enable the "Always allow" checkbox and then tap on "Allow".install adb on windows
  • At present, you should see your device'due south series number in the Command Prompt window. If it does not detect your device then run adb devices again and this time, information technology volition definitely detect your device. Congratulations! ADB is now successfully installed on your Windows PC.

Install ADB on Windows

Install ADB on macOS

Here, we will take a slightly different path to install ADB on macOS. We will have to install Homebrew beginning on macOS and then we tin can install the Android platform-tools hands. Homebrew is an open-source package manager that installs the missing packages. So with all that said, here nosotros begin.

  • First of all, open the Concluding on your Mac and execute the below command. Information technology will install Homebrew on your Mac. During the installation, it might ask for your password. The whole installation volition take almost 10 mins.
scarlet -due east "$(coil -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

install adb on macos

  • After that, install the ADB platform-tools from the beneath command.
brew cask install android-platform-tools

Install ADB on macOS

  • Now connect the Android device to your Mac and execute the adb devices command. You volition receive a prompt on your Android device to allow USB debugging. So, just enable the checkbox and tap on "Allow".

install adb on macos

  • Y'all should at present encounter the series number of your device on Mac This signifies that ADB is successfully installed on your Mac.

install adb on macos

Install ADB on Linux

  • Download the ADB Platform Tools for Linux from Google'due south official page and unzip the file to a suitable location like your home directory.
  • Later on that, open the Linux terminal and move to the extracted folder location. Execute the below control to motion to the particular folder. Make sure to change the username to your actual Linux username.
cd /home/arjun/platform-tools

install adb on linux

  • Connect your Android device and run the adb devices command on the Linux terminal. On your Android device, check the box for "Always allow" and and so tap on the "Ok" push button.

install adb on linux

  • Finally, your Android device volition testify upwardly on the Linux Terminal with the serial number. This is how you lot tin install and set up ADB on Linux systems.

Install ADB on Linux

Install ADB on Chrome Bone

Earlier I movement frontwards, let me analyze that your Chromebook should accept Play Shop back up; Chrome Os should exist on the Programmer Channel and accept Linux enabled on your machine. To motility to Developer Aqueduct, open Settings -> Virtually Chrome OS -> Additional Details -> Change Channel to Dev. Now having said all of that, let's learn how to install ADB on Chrome Bone.

  • Kickoff off, open Settings and navigate to Linux -> Develop Android Apps -> Enable the toggle for ADB Debugging. Now, restart your Chromebook and an ADB prompt volition come up upwards subsequently the reboot. Click on "Let" and movement to the side by side pace.How to Install ADB on Windows, macOS, Linux, and Chrome OS
  • At present, open up the Linux Terminal from the app drawer and execute the below command to install the ADB platform tools. Further, printing "Y" to let the installation.
sudo apt-go install android-tools-adb

install adb on chrome os

  • After the installation, connect your Android device to Chromebook. You volition get a prompt on your Chromebook about a USB device detection. At present, click on "Connect to Linux".

install adb on chrome os

  • Back to Linux Terminal, execute the adb devices command and a prompt will appear on your Android device. Enable the checkbox for "Always let" and then tap on the "Ok" button. Congratulations, you have successfully set up up ADB on Chrome OS.

install adb on chrome os

  • If the Last shows "Permission Denied" or "Control Non Institute" error then run the adb start-server command offset and then try again with the adb devices command.

How to Apply ADB on Windows, macOS, Linux and Chrome OS

Subsequently you have successfully installed ADB on your Windows PC, Mac, Linux organization or Chromebook, using information technology is only a matter of executing diverse ADB commands in the Terminal. Just brand certain that you have connected your Android device to your computer while USB debugging is enabled. After this, you tin can effort dissimilar commands and experience Android a whole lot differently. To assistance y'all get started, given below are a few of the most commonly used ADB commands.

Install ADB on Windows, macOS, Linux and Chrome Os With Ease

ADB is a very useful utility for all Android programmers. Fifty-fifty if you are not 1 yourself, you at present know how to set upwards ADB on your PC or Mac and utilize it with your Android device. And if you're new to this, I've already listed some of the common ADB commands in a higher place. This allows y'all to feel Android similar never before. Talking virtually ADB commands, which ones are your favorites? I would love to hear from y'all in the comments section below.

Source: https://beebom.com/how-to-install-adb-windows-mac/

Posted by: bryantentim1964.blogspot.com

0 Response to "How to Install ADB on Windows, macOS, Linux, and Chrome OS"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel