Android SDK Platform-Tools 是 Android SDK 的一个组件。它包含与 Android 平台进行交互的工具,主要是 adb
和 fastboot
。虽然 adb
是 Android 应用开发所必需的,但应用开发者通常仅使用 Studio 安装的副本。如果您想直接从命令行使用 adb
并且未安装 Studio,此项下载非常有用。(如果您安装了 Studio,建议您仅使用 Studio 安装的副本,因为 Studio 会自动对其进行更新。)如果您想要解锁设备的引导加载程序并为其刷入新的系统映像,则需要 fastboot
。该软件包曾经包含 systrace
,但已由 Studio 性能分析器、gpuinspector.dev 或 Perfetto 取代。
虽然 adb
和 fastboot
中的某些新功能仅适用于较新的 Android 版本,但它们是向后兼容的,因此您只需使用最新版本的 SDK 平台工具即可。如果您发现异常,请提交 bug 报告。
下载
如果您是 Android 开发者,则应从 Android Studio 的 SDK 管理器或通过 sdkmanager
命令行工具获取最新的 SDK Platform-Tools。这样可确保这些工具能够与其他 Android SDK 工具一起保存到正确的位置,并可轻松地进行更新。
但是,如果您只想使用这些命令行工具,请访问以下链接:
虽然这些链接不会发生变化,但它们始终指向最新版本的工具。
修订版本
34.0.0 RC2(2023 年 3 月)
- 通过发布 Android 14 开发者预览版 2 进行了更新。
34.0.1(2023 年 3 月)
- adb
- macOS:由于 adb install 挂起问题,恢复了“连接不稳定问题(MacBook 高速数据线)”的解决方案(问题 270205252)。
- fastboot
- Windows:修复了平台工具 34.0.0 中引入的“尝试确定文件系统大小时出现非法或格式有误的设备名称”错误(问题 271039230)。
34.0.0(2023 年 2 月)
- adb
- 修复了针对 macOS 的零长度数据包发送问题(问题跟踪器:208675141)。
- 解决了连接不稳定的问题(MacBook 高速数据线):adb 频繁断开连接。
- 改进了参数数量不足导致的 adb push 错误消息。
- fastboot
- 改进了刷写功能:
flashall
现在会尽可能跳过重新启动到用户空间。 - 修复了针对 macOS 的零长度数据包发送问题(问题跟踪器:208675141)。
- 修复了刷写 recovery.img 导致 AVB 页脚错误的问题。
- 改进了刷写功能:
33.0.3(2022 年 8 月)
- adb
- 如果第一次尝试
adb root
时失败,请勿重试。 - 修复了 track-devices 重复条目的问题。
- 添加了接收窗口化功能(提高高延迟连接的吞吐量)。
- 在“多台设备”失败情况下显示更具体的错误消息。
- 拒绝意外的反向转发请求。
- 修复了在 Windows 上使用 install-multi-package 命令时的问题。
- 如果第一次尝试
- fastboot
- 从 SDK platform-tools 中移除了 e2fsdroid。
- 输出 OemCmdHandler 成功返回的消息。
33.0.2(2022 年 5 月)
- fastboot
- 支持
vendor_kernel_boot
分区。
- 支持
33.0.1(2022 年 3 月)
- adb
- 修复了 Windows mdns 崩溃问题。
- 修复了旧设备上的 enabled-verity/disable-verity 问题。
- 修复了旧设备上的“安装多个”问题
- 改进了帮助输出内容,以包含所有受支持的压缩方法。
- systrace
- 已移除。请改用 Studio 性能分析器/gpuinspector.dev/Perfetto。
33.0.0(2022 年 2 月)
- adb
- 修复了 32.0.0 中引入的在没有任何参数的情况下运行时发生崩溃的问题。
32.0.0(2022 年 1 月)
- adb
- Apple M1 设备的通用二进制文件。
- 已知问题:此版本在不提供任何参数的情况下运行时会崩溃。
31.0.3(2021 年 8 月)
- fastboot
- 支持刷写 vbmeta_vendor.img 以进行 fastboot flashall/update。
31.0.2(2021 年 4 月)
- adb
- 支持在 Linux 上转发到 vsock。
- 修复了
adb track-devices
中采用无线调试功能的设备不会立即收到更新的 bug。 - 无需单独安装 mDNS 服务即可实现对 mDNS 设备发现的初步支持。此功能目前默认处于停用状态,可以在启动 adb 服务器时将环境变量
ADB_MDNS_OPENSCREEN
设置为 1 来启用此功能。
- fastboot
- 无法获取启动分区大小时不会失败。
- 会从属性派生设备锁定状态,而不是解析内核命令行。
31.0.1(2021 年 3 月)
- adb
- 减少了 TCP keepalive 间隔。
- 提高了增量安装性能。
- fastboot
- 添加了对压缩快照合并的支持。
- 恢复了对旧版 A/B 的支持。
31.0.0(2021 年 2 月)
- adb
- 默认情况下,在拉取时停用压缩功能。
30.0.5(2020 年 11 月)
- adb
- 提升了通过高延迟连接推送许多文件时
adb push
的性能。 - 提升了
adb push/pull
在 Windows 上的性能。 - 修复了处理多个输入时
adb push --sync
的问题。 - 提升了增量 APK 安装的性能。
- 改进了针对增量 APK 安装的错误处理。
- 提升了通过高延迟连接推送许多文件时
30.0.4(2020 年 7 月)
- adb
- 修复了在搭载 Android 11 之前版本的设备上回退到非增量 APK 安装的问题。
- 修复了
adb install-multi-package
。 - 修复了更多与 adb 无线配对相关的崩溃问题。
- 改进了一些错误消息。
- fastboot
- 改进了
fastboot oem
命令的控制台输出。 - 修复了旧款设备(如 Nexus 7)上的
fastboot flashall
问题。
- 改进了
30.0.3(2020 年 6 月)
- adb
- 修复了在搭载 Android 11 之前版本的设备上安装使用 v4 签名方案签名的 APK 的问题。
- 修复了在不使用
ADB_VENDOR_KEYS
的情况下进行身份验证时发生崩溃的问题。 - 修复了使用
adb -H
时发生崩溃的问题。
30.0.2(2020 年 6 月)
- adb
- 改进了 adb 无线配对。
- 修复了在连接设备前运行时
adb logcat
挂起的问题。 - 添加了
adb transport-id
,以允许脚本在运行 root/unroot/reboot 后安全地等待设备断开连接。
30.0.1(2020 年 5 月)
- adb
- 默认会停用 adb mdns 自动连接。此设置可通过
ADB_MDNS_AUTO_CONNECT
环境变量重新启用。 - 改进了
adb install-multi
在搭载 Android 10 或更高版本的设备上的性能。 - 修复了在通过 TCP 连接的设备上使用
adb root/unroot
时超时的问题。 - 更新了对无线配对的支持。
- 默认会停用 adb mdns 自动连接。此设置可通过
30.0.0(2020 年 4 月)
- adb
29.0.6(2020 年 2 月)
- adb
- 对
adb ls
提供 64 位大小/时间支持(在搭载 Android 11 的设备上使用时)。 - 支持在 POSIX 上监听
::1
。 - 在发布 WinUSB 描述符的 WinUSB 设备上,应该不需要再安装 U 盘,即可实现客户端支持(这对 Android 11 是必需的)。
- 修复了在实际上并非文件的项中使用
adb install
时挂起的问题。
- 对
29.0.5(2019 年 10 月)
- adb
- 使用许多同步连接时,在 Linux 上的性能略有提升。
- 向
adb install
添加了--fastdeploy
选项,可在开发过程中对 APK 进行增量更新。
29.0.4(2019 年 9 月)
- adb
- LLDB 原生调试超时的修补程序(详见错误 #134613180)。这也修复了 Android Studio 性能剖析器中导致
AdbCommandRejectedException
的相关 bug,您可以在idea.log
文件中看到该 bug。
- LLDB 原生调试超时的修补程序(详见错误 #134613180)。这也修复了 Android Studio 性能剖析器中导致
29.0.3(2019 年 9 月)
- adb
adb forward --list
可与多台连接的设备配合使用。- 修复了设备在 Windows 上进入离线状态的问题。
- 改进了
adb install
输出和帮助文本。 - 可在不指定端口的情况下恢复
adb connect <host>
之前的行为。
29.0.2(2019 年 7 月)
- adb
- 修复了 Windows 堆完整性崩溃问题。
- fastboot
- 添加了对即将推出的新设备的分区布局的支持。
29.0.1(2019 年 6 月)
- adb
- Windows 崩溃问题的修补程序 (https://issuetracker.google.com/134613180)
29.0.0(2019 年 6 月)
- adb
adb reconnect
会在 Linux 上执行 USB 重置。- 在 Linux 上,当连接到较新的 adb 服务器时,adb 会尝试以透明的方式启动新版本,而不是先终止服务器,再启动旧版本。
- 断开连接后,
adb root
会等待设备重新连接。 以前,如果adb wait-for-device
在 adb 注意到设备已断开连接之前启动,adb root; adb wait-for-device
可能会错误地立即返回。
- fastboot
- 停用了当 fastboot 试图在 macOS 上打开触控栏或键盘时出现的错误消息。
28.0.2(2019 年 3 月)
- adb
- 修复了导致“对等方重置了连接”错误消息的
adb shell
端口转发不稳定问题。 - 修复了重新连接设备时通过
ADB_VENDOR_KEYS
进行身份验证的问题。 - 通过根据私钥计算公钥(而不是假定私钥和公钥匹配)修复了身份验证问题(当用于进行身份验证的私钥与公钥不匹配时)。
- 修复了导致“对等方重置了连接”错误消息的
- fastboot
- 添加了对动态分区的支持。
- 更新了 Windows 的相关要求
- 平台工具现在依赖于 Windows 通用 C 运行时,它通常是通过 Windows Update 默认安装的。如果您看到提及缺少 DLL 的错误,那么可能需要手动获取并安装运行时软件包。
28.0.1(2018 年 9 月)
- adb
- 添加了对重新连接 TCP 连接的支持。断开连接后,adb 会尝试重新连接最多 60 秒,如果仍不成功,才会放弃连接。
- 修复了 Windows 上的 Unicode 控制台输出问题。(感谢外部贡献者 Spencer Low!)
- 修复了可能发生的文件描述符 double-close 问题,此问题会导致连接在
adb connect
发生的同时关闭。 - 修复了在与多个设备连接的情况下使用时
adb forward --list
的问题。
- fastboot
- 将命令超时增加到了 30 秒,以更好地支持一些速度较慢的引导加载程序命令。
28.0.0(2018 年 6 月)
- adb:
- 添加了对搭载 Android P 的设备的无校验和操作的支持,使吞吐量提高了多达 40%。
- 按连接类型和设备序列号对
adb devices
的输出进行了排序。 - 增加了套接字监听积压量,以允许同时执行更多 adb 命令。
- 改进了
adb connect
的错误输出。
- fastboot:
- 改进了输出格式,添加了详细输出模式 (
-v
)。 - 清理了帮助输出。
- 将
product.img
和odm.img
添加到了由fastboot flashall
刷写的分区列表。 - 通过允许出厂映像软件包要求对特定分区的支持,避免在使用过旧版本的 fastboot 时导致新设备死机。
- 改进了输出格式,添加了详细输出模式 (
27.0.1(2017 年 12 月)
- adb:修复了在使用 USB 3.0 连接设备时在 MacOS 上出现的断言失败问题。
- fastboot:在 Windows 上,添加了对擦除使用 F2FS(闪存友好型文件系统)的设备的支持。
27.0.0(2017 年 12 月)
- 重新修复了 macOS 10.13 fastboot bug,此 bug 在 26.0.1 中首次修复,但在 26.0.2 中重新引入。
26.0.2(2017 年 10 月)
- 为 Pixel 2 设备添加了 fastboot 支持。
26.0.1(2017 年 9 月)
- 修复了 macOS 10.13 High Sierra 上的 fastboot 问题(bug 64292422)。
26.0.0(2017 年 6 月)
- 通过发布 Android O 最终版本 SDK(API 级别 26)进行了更新。
25.0.5(2017 年 4 月 24 日)
修复了 Windows 上大型更新的 adb 旁加载问题,此问题显示为“std::bad_alloc”(bug 37139736)。
修复了某些 Windows 防火墙存在的 adb 问题,此问题显示为“cannot open transport registration socketpair”(bug 37139725)。
adb --version
和fastboot --version
现在都包含安装路径。adb 已更改为不解析
localhost
,以便解决 VPN 配置错误问题。adb 已更改为不再在 Linux 上重置 USB 设备,因为重置 USB 设备可能会影响其他连接的 USB 设备。
25.0.4(2017 年 3 月 16 日)
- 为 Linux 和 Mac adb 添加了实验性 libusb 支持
如需使用 libusb 后端,请先设置环境变量 ADB_LIBUSB=true,然后再启动新的 adb 服务器。新的 adb host-features
命令会告知您是否在使用 libusb。
如需使用 libusb 重启 adb 并检查它是否正常运行,请使用 adb kill-server;
ADB_LIBUSB=1 adb start-server; adb host-features
。输出应包含“libusb”。
在此版本中,旧版的非 libusb 实现仍然是默认实现。
fastboot 不再挂起 2016 MacBook Pros(bug 231129)
修复了 Mac 上的 Systrace 命令行捕获问题
25.0.3(2016 年 12 月 16 日)
- 修复了导致 Android Things 设备无法刷写的 fastboot bug
25.0.2(2016 年 12 月 12 日)
- 通过发布 Android N MR1 稳定版 (API 25) 进行了更新
25.0.1(2016 年 11 月 22 日)
- 通过发布 Android N MR1 开发者预览版 2 (API 25) 进行了更新
25.0.0(2016 年 10 月 19 日)
- 通过发布 Android N MR1 开发者预览版 1 (API 25) 进行了更新
24.0.4(2016 年 10 月 14 日)
- 已更新并解决了 ADB 和 Mac OS Sierra 中的问题
下载 Android SDK Platform-Tools
您必须先接受以下条款及条件才能下载。
条款及条件
This is the Android Software Development Kit License Agreement1. Introduction
1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. 1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: https://source.android.com/, as updated from time to time. 1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (https://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). 1.4 "Google" means Google LLC, organized under the laws of the State of Delaware, USA, and operating under the laws of the USA with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA.2. Accepting this License Agreement
2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. 2.2 By clicking to accept and/or using this SDK, you hereby agree to the terms of the License Agreement. 2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. 2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity.3. SDK License from Google
3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. 3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. 3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. 3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. 3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. 3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. 3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. 3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.4. Use of the SDK by You
4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. 4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). 4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. 4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. 4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. 4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.5. Your Developer Credentials
5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.6. Privacy and Information
6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. 6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy, which is located at the following URL: https://policies.google.com/privacy 6.3 Anonymized and aggregated sets of the data may be shared with Google partners to improve the SDK.7. Third Party Applications
7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. 7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. 7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties.8. Using Android APIs
8.1 Google Data APIs 8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. 8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. If you use the Android Recognition Service API, documented at the following URL: https://developer.android.com/reference/android/speech/RecognitionService, as updated from time to time, you acknowledge that the use of the API is subject to the Data Processing Addendum for Products where Google is a Data Processor, which is located at the following URL: https://privacy.google.com/businesses/gdprprocessorterms/, as updated from time to time. By clicking to accept, you hereby agree to the terms of the Data Processing Addendum for Products where Google is a Data Processor.9. Terminating this License Agreement
9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. 9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. 9.3 Google may at any time, terminate the License Agreement with you if: (A) you have breached any provision of the License Agreement; or (B) Google is required to do so by law; or (C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or (D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. 9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.10. DISCLAIMER OF WARRANTIES
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. 10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. 10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.11. LIMITATION OF LIABILITY
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.12. Indemnification
12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement.13. Changes to the License Agreement
13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.14. General Legal Terms
14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. 14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. 14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. 14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. 14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. 14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. 14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. July 27, 2021下载 Android SDK Platform-Tools
您必须先接受以下条款及条件才能下载。
条款及条件
This is the Android Software Development Kit License Agreement1. Introduction
1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. 1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: https://source.android.com/, as updated from time to time. 1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (https://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). 1.4 "Google" means Google LLC, organized under the laws of the State of Delaware, USA, and operating under the laws of the USA with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA.2. Accepting this License Agreement
2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. 2.2 By clicking to accept and/or using this SDK, you hereby agree to the terms of the License Agreement. 2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. 2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity.3. SDK License from Google
3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. 3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. 3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. 3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. 3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. 3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. 3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. 3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.4. Use of the SDK by You
4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. 4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). 4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. 4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. 4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. 4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.5. Your Developer Credentials
5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.6. Privacy and Information
6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. 6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy, which is located at the following URL: https://policies.google.com/privacy 6.3 Anonymized and aggregated sets of the data may be shared with Google partners to improve the SDK.7. Third Party Applications
7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. 7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. 7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties.8. Using Android APIs
8.1 Google Data APIs 8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. 8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. If you use the Android Recognition Service API, documented at the following URL: https://developer.android.com/reference/android/speech/RecognitionService, as updated from time to time, you acknowledge that the use of the API is subject to the Data Processing Addendum for Products where Google is a Data Processor, which is located at the following URL: https://privacy.google.com/businesses/gdprprocessorterms/, as updated from time to time. By clicking to accept, you hereby agree to the terms of the Data Processing Addendum for Products where Google is a Data Processor.9. Terminating this License Agreement
9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. 9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. 9.3 Google may at any time, terminate the License Agreement with you if: (A) you have breached any provision of the License Agreement; or (B) Google is required to do so by law; or (C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or (D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. 9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.10. DISCLAIMER OF WARRANTIES
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. 10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. 10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.11. LIMITATION OF LIABILITY
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.12. Indemnification
12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement.13. Changes to the License Agreement
13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.14. General Legal Terms
14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. 14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. 14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. 14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. 14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. 14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. 14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. July 27, 2021下载 Android SDK Platform-Tools
您必须先接受以下条款及条件才能下载。