# 使用 Homebrew Cask 安装 android-platform-tools

查看 android-platform-tools 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install cask:android-platform-tools
```

其他安装命令:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask android-platform-tools
```

  证据: local Homebrew cask metadata

## 软件包事实

- **软件包键:** cask:android-platform-tools
- **软件包管理器:** Homebrew Cask
- **版本:** 37.0.1
- **来源摘要:** Android SDK component
- **主页:** <https://developer.android.com/tools/releases/platform-tools>
- **最后更新:** 2026-08-01T18:59:09+08:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- adb (二进制)
- etc1tool (二进制)
- fastboot (二进制)
- hprof-conv (二进制)
- make_f2fs (二进制)
- make_f2fs_casefold (二进制)
- mke2fs (二进制)
- adb (别名)
- etc1tool (别名)
- fastboot (别名)
- hprof-conv (别名)
- make_f2fs (别名)
- make_f2fs_casefold (别名)
- mke2fs (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 37.0.1
## 项目历史与用法

Android SDK Platform-Tools is the Android SDK component that ships adb, fastboot, and related host-side utilities. In package-manager practice it is the small install that developers, ROM maintainers, CI images, and device tinkerers reach for when they need Android device access without a full IDE.

### 项目历史

The Android Debug Bridge is documented by Android as a command-line tool for communicating with a device, installing and debugging apps, and running shell commands. The platform-tools package became the distribution vehicle for adb and fastboot as Android separated SDK components into independently updated downloads.

Google's Platform-Tools release notes show the package as a continuously updated SDK component rather than a standalone application. Its history is therefore tied to Android device protocols and host tooling: adb for development and debugging, fastboot for bootloader-level flashing, and small filesystem/image helpers used by the Android build and device ecosystem.

### 采用历史

The toolset is installed by Android Studio and the Android SDK Manager, but package managers also carry it because many users need only adb and fastboot. Homebrew distributes it as a cask, making macOS command-line Android workflows possible without installing the full Android Studio application.

Its adoption spread beyond app developers into CI pipelines, hardware labs, custom ROM communities, recovery workflows, and test automation. That mixed audience explains why platform-tools is treated like a core system utility package even though it is officially an SDK component.

### 使用方式

Common use centers on `adb devices`, `adb install`, `adb shell`, log capture, port forwarding, file transfer, and fastboot flashing or boot commands. The Android documentation also records `ANDROID_USER_HOME` as the parent for Android tool configuration, with the default user directory under `.android`.

Package users care about version freshness because adb and fastboot need to track Android platform behavior, USB/device protocol changes, and security fixes. Installing platform-tools from a package manager gives scripts a stable executable path while still following Google's SDK releases.

### 为什么软件包爱好者会关心

This is a classic package-manager split: a large vendor SDK is reduced to the few host binaries people actually put in PATH. It is especially valuable on macOS and CI runners where installing Android Studio would be slow, stateful, and unnecessary.

The source lives in Android's public Gitiles infrastructure rather than a conventional GitHub project, which is a useful reminder that official source-control URLs are not always the same shape as community package metadata expects.

### 时间线

- 2008: Android SDK tooling ships with early public Android development releases.
- 2010s: adb and fastboot become the common host-side tools for app debugging, device automation, and bootloader workflows.
- 2020: Android Platform-Tools 30.x release notes document ongoing package-specific releases.
- 2026: Homebrew cask metadata lists Platform-Tools 37.0.0 for macOS.

### Related projects

- Android Studio and the Android SDK Command-line Tools provide the broader SDK management surface around platform-tools.
- AOSP hosts adb source under the Android source tree; fastboot and filesystem helpers are related host utilities in the Android platform toolchain.

### 来源

- <https://android.googlesource.com/platform/packages/modules/adb>
- <https://developer.android.com/tools/adb>
- <https://developer.android.com/tools/releases/platform-tools>
- <https://developer.android.com/tools/variables>
- source_facts.package-manager


## 安全说明

没有找到 android-platform-tools 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $ANDROID_USER_HOME, ~/.android/
## 其他软件包管理器记录

- Debian apt - adb - 1:34.0.5-12: normalized package name match | Debian stable package indexes: adb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Android Debug Bridge | https://developer.android.com/studio/releases/platform-tools
- Debian apt - adbd - 34.0.5-12: normalized package name match | Debian stable package indexes: adbd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Android Debug Bridge daemon | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-libbacktrace - 1:34.0.5-12: normalized package name match | Debian stable package indexes: android-libbacktrace from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Android backtrace library | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-libbacktrace-dev - 1:34.0.5-12: normalized package name match | Debian stable package indexes: android-libbacktrace-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Android backtrace library - Development files | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-libbase - 1:34.0.5-12: normalized package name match | Debian stable package indexes: android-libbase from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Android base library | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-libbase-dev - 1:34.0.5-12: normalized package name match | Debian stable package indexes: android-libbase-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Android base library - Development files | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-libcutils - 1:34.0.5-12: normalized package name match | Debian stable package indexes: android-libcutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Android utils library for C | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-libcutils-dev - 1:34.0.5-12: normalized package name match | Debian stable package indexes: android-libcutils-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Android utils library for C - Development files | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-liblog - 1:34.0.5-12: normalized package name match | Debian stable package indexes: android-liblog from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Android NDK logger interfaces | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-liblog-dev - 1:34.0.5-12: normalized package name match | Debian stable package indexes: android-liblog-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Android NDK logger interfaces - Development files | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-libnativehelper - 34.0.5-12: normalized package name match | Debian stable package indexes: android-libnativehelper from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Support functions for Android's class libraries | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-libnativehelper-dev - 34.0.5-12: normalized package name match | Debian stable package indexes: android-libnativehelper-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Support functions for Android's class libraries - Development files | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-libsparse - 1:34.0.5-12: normalized package name match | Debian stable package indexes: android-libsparse from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for sparse files | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-libsparse-dev - 1:34.0.5-12: normalized package name match | Debian stable package indexes: android-libsparse-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for sparse files - Development files | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-libutils - 1:34.0.5-12: normalized package name match | Debian stable package indexes: android-libutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Android Utility Function Library | https://developer.android.com/studio/releases/platform-tools
- Debian apt - android-libutils-dev - 1:34.0.5-12: normalized package name match | Debian stable package indexes: android-libutils-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Android Utility Function Library - Development files | https://developer.android.com/studio/releases/platform-tools


## Combined YAML source

View the package source record on GitHub. [combined/android-platform-tools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/android-platform-tools.yml)


## 来源

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
