取得 Android 11
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
您可以透過下列任一方式取得 Android 11:
- 取得 Google Pixel 裝置的 OTA 更新或系統映像檔
- 設定 Android Emulator,執行 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 Emulator 以執行 Android 11
設定 Android Emulator 以執行 Android 11,是探索新功能和 API,並測試 Android 11 行為變更的絕佳解決方案。設定模擬器既快速又方便,還可讓您模擬各種螢幕大小和裝置特性。
您可以在 Android Studio 中設定搭載 Android 11 的模擬器:
- 安裝最新預先發布版的 Android Studio。
- 在 Android Studio 中,按一下「Tools」(工具) >「SDK Manager」。
- 在「SDK Tools」分頁中,選取最新版本的 Android Emulator,然後按一下「OK」。如果尚未安裝最新版本,系統會進行這項操作。
在 Android Studio 中,依序按一下「Tools」(工具) >「AVD Manager」,然後按照操作說明建立新的 AVD。
請務必選取 Pixel 2、3、3a、4 或 4a 裝置定義,以及 Android 11 (API 級別 30) 系統映像檔。如果您尚未安裝符合裝置定義的 Android 11 系統映像檔,請按一下「Release Name」(版本名稱) 旁邊的「Download」(下載) 來取得這個映像檔。
返回 AVD Manager 中的虛擬裝置清單後,在新的虛擬裝置上連按兩下以啟動裝置。
在 Android GSI 上進行測試
開發人員可使用 Android 通用系統映像檔 (GSI) 二進位檔,在支援的 Treble 相容裝置上測試及驗證應用程式。您可以使用這些映像檔解決任何與 Android 11 相關的相容性問題,並在 Android 11 正式發布前找出並回報 OS 和架構問題。
請參閱 GSI 說明文件,瞭解裝置需求、刷新指示,以及如何為裝置選擇合適的映像檔類型。準備好下載 GSI 二進位檔時,請參閱 GSI 發布頁面中的「Android 11 GSI」部分。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-08-27 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-08-27 (世界標準時間)。"],[],[],null,["You 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\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\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\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."]]