Windows Subsystem for Linux (WSL) offers Windows users a seamless way to run Linux apps. Special case: How to set up ADB on Windows Subsystem for Linux and ChromeOS However, it is always better to opt for the latest binary from the Android SDK Platform Tools release, since the distro-specific packages often contain outdated builds. Fedora/SUSE-based Linux users can type the following command to install ADB: sudo dnf install android-tools.Debian/Ubuntu-based Linux users can type the following command to install ADB: sudo apt- get install android-sdk-platform-tools.The guide above will certainly work for you, but those who own a mainstream Debian/Ubuntu or Fedora/SUSE-based distro of Linux can skip steps 1 and 2 of the guide above and use one of the following commands: Linux users should know that there is an easier way to install ADB on their computers. Go ahead and grant it.Ĭongrats! You can now run any ADB command on your device! Back on your smartphone or tablet device, you'll see a prompt asking you to allow USB debugging.This is not always necessary for every device, but it's recommended so you don't run into any issues. Change the connection mode to “file transfer (MTP)” mode. Connect your device to your Linux machine with your USB cable.Example: cd /home/XDA/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.That way, you don't have to manually update the binaries. While the guide above will certainly work, veteran macOS users can also opt to install ADB on their Macs using an unofficial package manager such as Homebrew or MacPorts. Allow the connection.Ĭongratulations! You can now run any ADB command on your device! Now go forth and start modding your phone. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |