android - 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 频道中使用。
解决方案
您只需要对模拟器设置进行操作,单击显示选项并添加辅助显示。
推荐阅读
- git - 将子文件夹从 git repo A 复制到 git repo B,不删除文件夹树
- python - 如果输入没有收到值,我该如何让输入重复?
- c - 将 typedef 结构的函数参数与其在 C 中的实例声明进行比较
- python - 如何根据指定条件更改数组中的值?
- reactjs - 我有多个 onClick 按钮,每当我单击 1 个按钮时,所有相同的按钮都会触发。反应
- django - 我想在 django rest 框架中接受来自 url 的参数并将其保存在模型中
- java - Android Handler 实例线程安全
- python - PYTHON 通过产品 ID 或供应商 ID 找出设备连接到哪个端口
- flutter - 调用函数每页颤动
- c# - .net core web api 文件随机加载只响应的一部分