您可以在此处下载最新的SDK,包括adb 。提取此存档时,有一个自述文件,说明了如何安装SDK。我在这里列出供您参考。
Welcome to the Android SDK!
The Android SDK archive initially contains only the basic SDK tools. It does
not contain an Android platform or any third-party libraries. In fact, it
doesn't even have all the tools you need to develop an application.
In order to start developing applications, you must install the Platform-tools
and at least one version of the Android platform, using the SDK Manager.
Platform-tools contains build tools that are periodically updated to support new
features in the Android platform (which is why they are separate from basic
SDK tools), including adb, dexdump, and others.
To install Platform-tools, Android platforms and other add-ons, you must
have an Internet connection, so if you plan to use the SDK while
offline, please make sure to download the necessary components while online.
To start the SDK Manager, please execute the program "android".
From the command-line you can also directly trigger an update by
executing:
tools/android update sdk --no-ui
Tip: use --help to see the various command-line options.
For more information, please consult the Android web site at
http://developer.android.com/sdk/
安装完成后(如果尚未安装Java,则必须安装Java),您可以导航至android-sdk-linux / platform-tools并通过键入以下内容执行adb
./adb [options]
我自由地承认这可能不是最优雅的解决方案,但它对我有用。ISTR,在另一台Ubuntu计算机上,我仅使用Java平台工具就完成了最小安装,但是我找不到关于它的说明。