How to Install ADB & Fastboot on Ubuntu 18.04 / Linux Mint 19?. Android Debug Bridge (ADB) is a versatile command-line tool that enables you to communicate with a device from a client machine. With adb command, you can perform a variety of device actions, such as the installation of Applications, copying files, run shell commands, debug applications e.t.c.
ADB also provides access to a Unix shell for running commands on the device. ADB works in a client-server model and it includes three components:
- adbd: This is a daemon running in the background and allows the running of commands.
- A server: This is a background process running on your development machine to manage communication between the client and the daemon.
- A client: The client is responsible for sending commands from you local machine to a device over USB connection.
Install ADB & Fastboot on Ubuntu 18.04 / Linux Mint 19
ADB comes included with Google’s Android SDK but the package can be installed independently on Ubuntu 18.04 / Linux Mint 19. Install both ADB & Fastboot by running the commands below.
sudo apt update
sudo apt-get install android-tools-adb android-tools-fastboot
Get ADB version details.
$ adb version
Android Debug Bridge version 1.0.36
Revision 1:7.0.0+r33-2
If you try list for connected devices, ADB server should be started if not already running.
$ adb devices
List of devices attached
daemon not running. starting it now on port 5037 *
daemon started successfully *
The Service can also be started by running:
sudo adb start-server
How to Enable adb debugging on your device
You must enable USB debugging on your device to use adb over USB. Navigate to system settings, and enable it under Developer options.
To reset your adb host, run:
adb kill-server
Check help page with --help
option.
Check Google ADB documentation for more details.
Πρέπει να έχετε συνδεθεί για να σχολιάσετε.