问题描述
我目前运行的是最新版本的 Android Studio,v3.2.1.可用的虚拟设备仅适用于 Pixel 2(和 XL 版本).这些还不够,因为我主要需要在新的 Google Pixel 3 XL 上进行测试,因为它有缺口.
I'm currently running the latest version of Android Studio, v3.2.1. The virtual devices available only go up to the Pixel 2 (and the XL version). These do not suffice since I mainly need to test on the new Google Pixel 3 XL, due to its notch.
是否可以将新的 Pixel 3(和 XL 版本)加载到 Android Studio 的模拟器中进行测试?
Is it possible to get the new Pixel 3 (and XL version) loaded into Android Studio's emulators for testing?
推荐答案
要在模拟器中添加缺口,请选择任何具有 Android Pie 系统映像 (9.0) 的设备.构建它,然后转到设置> 系统> 展开高级"> 开发人员选项>绘图"部分> 在模拟器上模拟带有切口的显示".
To add a notch in the emulator, choose any device with Android Pie system image (9.0). Build it, then go to Settings > System > expand 'Advanced' > Developer options > 'Drawing' section > 'Simulate a display with a cutout' on the emulator.
你可以使用它直到他们添加官方皮肤
You can use it until they add the official skin
*注意:Android 手机默认不显示开发人员"选项.请参阅 Android 文档以了解如何启用它.
*NOTE: The 'Developer' option is not shown by default on Android phones. Please see the Android Documentation to learn out how to enable it.
这篇关于如何在 Android Studio 中获取 Google Pixel 3 模拟器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!