如何在Android Studio中获取Google Pixel 3模拟器? [英] How can I get the Google Pixel 3 emulator in Android Studio?

查看:426
本文介绍了如何在Android Studio中获取Google Pixel 3模拟器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前正在运行最新版本的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模拟器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆