首页 > 解决方案 > Android模拟器 - 在扩展控件下启用多显示?

问题描述

我按照https://android.googlesource.com/platform/external/qemu/+/refs/heads/emu-master-dev#welcome-to-the-android-emulator从官方仓库下载并构建了 android 模拟器

我正在尝试添加选项multiple displays以显示在扩展控件视图中。

android/data/advancedFeatures.ini-> has MultiDisplay = on android/data/advancedFeaturesCanary.ini-> has MultiDisplay = on android/android-emu/android/avd/hardware-properties.ini-> 具有hw.display1.width, hw.display1.height, hw.display1.density,hw.display1.xOffset和的值hw.display1.yOffset

然而,没有第二个显示器,无处可见或找不到。我正在尝试system image为 Android Car 模拟器启动/安装。我也是从源头构建的。

关于我实际上缺少什么的任何提示?

我已经知道,用于 Pixel 系统映像的 Android 模拟器启用了多显示支持,并且可以在带有 Android Studio 的 Canary 频道中使用。

标签: androidandroid-emulatorqemuandroid-automotive

解决方案


您只需要对模拟器设置进行操作,单击显示选项并添加辅助显示。


推荐阅读