Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

For issues specific to the Android Debug Bridge (adb), a command-line tool to interact with Android devices and Emulator instances. See the full tag wiki for details and hints.

Android Debug Bridge (ADB)

Android Debug Bridge (adb) is a versatile tool that lets you manage the state of an emulator instance or Android-powered device.

adb is part of the Android SDK and is the essential managing tool for Android device development. Quoting one of the tutorials2:

ADB or Android Debug Bridge is a command line program which is used to communicate with your Android phone (or an emulator used by programmers). The use of ADB for Android phone users ranges from using it as a tool to get the logcat- A realtime log of the Android system, which allows one to know the cause of any errors. It is very helpful to app hackers to know exactly what block of code does what, and to modify apps accordingly

For Windows, one usually needs a device-specific driver to get ADB working. If you cannot find one for your device, you might want to check with the Universal ADB driver.

A device should have USB debugging enabled in order for ADB to be used on that.

Advanced usage

You can also use ADB between two Android devices, wirelessly. Note that, however, with Marshmallow (Android 6) the adb binaries have been removed from within Android. To get them back, you can e.g. use Magisk and its adb-Installer module.

See also, here on this site:

External Links

history | excerpt history