It should display your device listed in the Command Prompt/PowerShell/Terminal window. To check if you have successfully installed ADB, connect your device to your PC/Mac with your USB cable, and run the adb devices command as described above.
This is something that is likely known by any *nix user (or Windows user running PowerShell) already, but again, we want as many people as possible to understand how to do these tweaks for Android no matter how much of your operating system you know. in front of the ADB commands we list in future tutorials, especially when they are using the extracted binaries directly from the Platform Tools ZIP. Just to cover all of our bases here, users may need to put a.
If everything was successful, you should now see your device’s serial number in the Terminal window output.
Change the connection mode to “file transfer (MTP)” mode. Connect your device to your Linux machine with your USB cable.So for example: cd /Users/Doug/Desktop/platform-tools/.This will change the directory to where you extracted the ADB files.Enter the following command: cd /path/to/extracted/folder/.
Download the Android SDK Platform Tools ZIP file for Linux.
While the guide above will certainly work, some seasoned macOS users should be aware that there can be an easier way to install ADB on their Macs using an unofficial package manager such as Homebrew or MacPorts. If everything was successful, you should now see your device’s serial number in macOS’s Terminal window.Ĭongratulations! You can now run any ADB command on your device! Now go forth and start modding your phone by following our extensive list of tutorials!
(Some Windows 10 users may see “PowerShell” instead of “command window”.) This can be done by holding Shift and Right-clicking within the folder then click the “Open command window here” option. Then open up a Command Prompt from the same directory as this ADB binary.Open Windows explorer and browse to where you extracted the contents of this ZIP file.Extract the contents of this ZIP file into an easily accessible folder (such as C:\platform-tools).Download the Android SDK Platform Tools ZIP file for Windows.Follow along for the operating system on your computer.