Myrosa
Smart Wallet Architect
Divine
LEVEL 1
400 XP
Link:
How to set up ADB on Linux
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0031-20e3.pngDownload the Android SDK Platform Tools ZIP file for Linux :
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0032-20e3.pngExtract the ZIP to an easily-accessible location (like the Desktop for example).
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0033-20e3.pngOpen a Terminal window.
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0034-20e3.pngEnter the following command: cd /path/to/extracted/folder/
This will change the directory to where you extracted the ADB files.
Example : cd /home/$USER/Desktop/platform-tools/
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0035-20e3.pngConnect your device to your Linux machine with your USB cable. Change the connection mode to "file transfer (MTP)
" mode. This is not always necessary for every device, but it's recommended so you don't run into any issues.
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0036-20e3.pngOnce the Terminal is in the same folder your ADB tools are in, you can execute the following command to launch the ADB daemon: ./adb devices
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0037-20e3.pngBack on your smartphone or tablet device, you'll see a prompt asking you to allow USB debugging. Go ahead and grant it.
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0038-20e3.pngFinally, re-enter the command from step 7. If everything was successful, you should now see your device's serial number in macOS's Terminal window.
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/2757.png️Linuxusers should know that there is an easier way to install ADB on their computers. 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:
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/25aa.pngDebian/Ubuntu-basedLinux users can type the following command to install ADB:
sudo apt-get install android-sdk-platform-tools
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/25aa.pngFedora/SUSE-basedLinux users can type the following command to install ADB:
sudo dnf install android-tools
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.
How to set up ADB on Linux
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0031-20e3.pngDownload the Android SDK Platform Tools ZIP file for Linux :
Loading…
dl.google.com
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0033-20e3.pngOpen a Terminal window.
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0034-20e3.pngEnter the following command: cd /path/to/extracted/folder/
This will change the directory to where you extracted the ADB files.
Example : cd /home/$USER/Desktop/platform-tools/
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0035-20e3.pngConnect your device to your Linux machine with your USB cable. Change the connection mode to "file transfer (MTP)
" mode. This is not always necessary for every device, but it's recommended so you don't run into any issues.
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0036-20e3.pngOnce the Terminal is in the same folder your ADB tools are in, you can execute the following command to launch the ADB daemon: ./adb devices
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0037-20e3.pngBack on your smartphone or tablet device, you'll see a prompt asking you to allow USB debugging. Go ahead and grant it.
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/0038-20e3.pngFinally, re-enter the command from step 7. If everything was successful, you should now see your device's serial number in macOS's Terminal window.
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/2757.png️Linuxusers should know that there is an easier way to install ADB on their computers. 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:
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/25aa.pngDebian/Ubuntu-basedLinux users can type the following command to install ADB:
sudo apt-get install android-sdk-platform-tools
https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/25aa.pngFedora/SUSE-basedLinux users can type the following command to install ADB:
sudo dnf install android-tools
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.