在本网站上有关于adb的各种问题和答案提到。我不确定adb是什么，它做了什么，它是如何运作的，我可以得到它的地方：除了 Android开发人员站点上的adb 。
There are mentions about ADB on various questions and answers on this site. I'm not exactly sure what ADB is, what it does, how it works and where I can get it: there's little information on the tag wiki besides the link for ADB on the android developer site.
On the site itself, the language is a bit too technical, and there is no information on how to install it or get it working, only a list of commands. This may seem obvious for a developer but may not be for some users.
What is the purpose, usage and installation procedure for ADB?
ADB is the acronym for Android Debug Bridge, which is part of the Android SDK (Software Development Kit). It uses a client-server-model (i.e.
adbd, the ADB daemon, is running on the device and can be connected to), and in most cases is used via an USB connection. It is also possible to use it via WiFi (wireless adb).
There's nothing you need to install on your Android device, as the ADB daemon (
adbd) is already integrated into the Android OS. It is usually accessed via a command line interface from the PC, where either the full Android SDK is installed (several 30 MB download archive currently), or a massively stripped-down version for "non-developers", sometimes referred to as "Mini ADB" or "ADB essentials" (for Linux, this is only the
adb executable; for Windows it's
adb.exe plus two or three
adb [-d|-e|-s <serialNumber>] <command>
(serialNumber is only needed if there are multiple devices connected at the same time, so you have to specify the target)
It would become a rather long answer to explain all the options/commands available to
adb. So I will only name some of the more important:
adb restore: To backup/restore your device, either single apps with/without their data, or data with/without their apps, up to a full backup of all apps and data, including system apps
adb pull: copy files to/from the device
adb shell: open a shell on the device to execute commands directly
adb bugreport: display the system log or generate a complete bug report including system log, device information and more
adb [un]install: (un) install an app
This is just a small selection. There are additional commands for scripting, and especially
adb shell has a lot of options (basically, all Linux and Java commands available on the device can be run through it).