获取 Android 11
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
您可以通过以下任一种方式获取 Android 11:
- 获取适用于 Google Pixel 设备的 OTA 更新或系统映像
- 设置 Android 模拟器以运行 Android 11
- 获取适用于符合 Treble 标准的合格设备的 GSI 系统映像
如需了解如何设置 Android Studio 以进行测试和开发,请参阅设置 SDK。
在 Pixel 设备上获取 Android 11
如果您使用的是合格的 Google Pixel 设备,则可以查看并更新 Android 版本,以通过无线下载的方式获取 Android 11。
另外,如果您希望手动刷写设备,就可以在 Pixel 下载页面上获取设备的 Android 11 系统映像。请阅读有关如何将系统映像刷写到设备上的一般说明。当您需要更好地控制测试(例如自动测试或回归测试)时,此方法可能非常实用。
在大多数情况下,切换到 Android 11 不需要重置所有数据,但建议您在注册设备前对数据进行备份。
Android 11 OTA 和下载内容适用于以下 Google Pixel 设备:
- Pixel 2 和 Pixel 2 XL
- Pixel 3 和 Pixel 3 XL
- Pixel 3a 和 Pixel 3a XL
- Pixel 4 和 Pixel 4 XL
设置 Android 模拟器以运行 Android 11
配置 Android 模拟器以运行 Android 11 是探索新功能和 API 以及测试 Android 11 行为变更的理想解决方案。设置模拟器既快捷又方便,可让您模拟各种屏幕尺寸和设备特性。
您可以在 Android Studio 中使用 Android 11 设置模拟器:
- 安装 Android Studio 的最新预览版 build。
- 在 Android Studio 中,依次点击 Tools > SDK Manager。
- 在 SDK Tools 标签页中,选择最新版 Android 模拟器,然后点击 OK。系统会安装最新版本(如果尚未安装)。
在 Android Studio 中,依次点击 Tools > AVD Manager,然后按照说明创建一个新 AVD。
请务必选择 Pixel 2、Pixel 3、Pixel 3a、Pixel 4 或 Pixel 4a 设备定义以及 Android 11(API 级别 30)系统映像。如果您尚未安装与您的设备定义匹配的 Android 11 系统映像,请点击 Release Name 旁边的 Download 下载该映像。
返回到 AVD 管理器中的虚拟设备列表后,双击新虚拟设备即可启动该设备。
在 Android GSI 上进行测试
Android 通用系统映像 (GSI) 二进制文件可供开发者在受支持且符合 Treble 标准的设备上进行应用测试和验证。在 Android 11 正式发布之前,您可以使用这些映像解决 Android 11 的所有兼容性问题,并发现和报告操作系统和框架方面的问题。
如需了解设备要求、刷机说明以及有关为设备选择正确映像类型的信息,请参阅 GSI 文档。准备好下载 GSI 二进制文件后,请参阅 GSI 版本页面上的 Android 11 GSI 部分。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[],[],null,["# Get Android 11\n\nYou can get Android 11 in any of these ways:\n\n1. Get an OTA update or system image for a [Google Pixel device](#on_pixel)\n2. Set up an [Android Emulator](#on_emulator) to run Android 11\n3. Get a GSI system image for a [qualified Treble-compliant device](#on_gsi)\n\nFor instructions on how to set up Android Studio for testing and development,\nsee [Set up the SDK](/about/versions/11/setup-sdk).\n\nGet Android 11 on your Pixel device\n-----------------------------------\n\nIf you have a qualified Google Pixel device, you can\n[check and update your Android version](https://support.google.com/pixelphone/answer/7680439)\nto receive Android 11 over the air.\n\nAlternatively, if you'd rather flash your device manually, you can get the\nAndroid 11 system image for your device on the\n[Pixel downloads page](https://developers.google.com/android/images).\nRead the general instructions for how to [flash a system\nimage](https://developers.google.com/android/images#instructions) to your\ndevice. This approach can be useful when you need more control\nover testing, such as for automated testing or regression testing.\n\nIn most cases, you don't need to do a full reset of your data to move to\nAndroid 11, but it's recommended that you back up data before enrolling\nyour device.\n\nAndroid 11 OTAs and downloads are available for the following Google Pixel\ndevices:\n\n- Pixel 2 and 2 XL\n- Pixel 3 and 3 XL\n- Pixel 3a and 3a XL\n- Pixel 4 and 4 XL\n\nSet up Android Emulator to run Android 11\n-----------------------------------------\n\nConfiguring the Android Emulator to run Android 11 is a great solution for\nexploring new features and APIs and testing with Android 11 behavior changes.\nSetting up the emulator is fast and convenient and allows you to emulate various\nscreen sizes and device characteristics.\n\nYou can set up an emulator with Android 11 from inside Android\nStudio:\n\n1. [Install the latest Preview build](/about/versions/11/setup-sdk#get-studio) of Android Studio.\n2. In Android Studio, click **Tools \\\u003e SDK Manager**.\n3. In the **SDK Tools** tab, select the latest version of **Android Emulator** , and click **OK**. This installs the latest version if it's not already installed.\n4. In Android Studio, click **Tools \\\u003e AVD Manager** and follow the instructions\n to [create a new AVD](/studio/run/managing-avds#createavd).\n\n Be sure to select a Pixel 2, 3, 3a, 4, or 4a device definition and an Android\n 11 (API level 30) system image. If you don't already have an Android 11 system\n image installed that matches your device definition, click **Download** next\n to the **Release Name** to get it.\n5. When you return to the list of virtual devices in the AVD Manager,\n double-click your new virtual device to launch it.\n\nTesting on Android GSI\n----------------------\n\nAndroid [Generic System Image (GSI)](/topic/generic-system-image) binaries\nare available to developers for app testing and validation purposes on supported\nTreble-compliant devices. You can use these images to address any compatibility\nissues with Android 11 as well as discover and report OS and\nframework issues before Android 11 is officially released.\n\nSee the [GSI documentation](/topic/generic-system-image) for device\nrequirements, flashing instructions, and information on choosing the right image\ntype for your device. Once you're ready to download a GSI binary, see the\n[Android 11 GSI section](/topic/generic-system-image/releases#android-gsi-11) on\nthe GSI releases page."]]