gpt4 book ai didi

Android 模拟器 - 意外的 '-prop' 值

转载 作者:行者123 更新时间:2023-12-05 00:03:05 25 4
gpt4 key购买 nike

我已经足够多地看到此错误,但在具有 Apple M1 芯片、通过 Visual Studio 2019 for Mac 运行的 2020 Macbook pro 上却没有。
当我尝试启动 Android 模拟器时,出现错误; “意外的错误”
当我通过 Visual Studio 进入 Android 设备管理器时,选项是有限的,但是,尝试启动模拟器给出了众所周知的

Device error: WARNING: unexpected '-prop' value ('monodroid.avdname=pixel_2_pie_9_0_-_api_28'), only 'qemu.' properties are supported
WARNING: unexpected '-prop' value ('emu.uuid=7698980f-2d31-4db3-973b-df409a67754d'), only 'qemu.' properties are supported


查看日志,它以以下内容结尾(格式化为代码以维护换行符):
[2021-05-10 18:39:15.0] 
emulator: registered 'boot-properties' qemud service
[2021-05-10 18:39:15.0]
emulator: Adding boot property: 'qemu.cmdline' = 'androidboot.logcat=v:* androidboot.consolepipe=qemu_pipe,pipe:logcat'
[2021-05-10 18:39:15.0]
emulator: Adding boot property: 'qemu.logcat' = 'start'
[2021-05-10 18:39:15.0]
emulator: CPU Acceleration: DISABLED
[2021-05-10 18:39:15.0]
emulator: CPU Acceleration status: Android Emulator requires an Intel processor with VT-x and NX support. (VT-x is not supported)
[2021-05-10 18:39:15.0]
emulator: ERROR: x86 emulation currently requires hardware acceleration!
[2021-05-10 18:39:15.0]
CPU acceleration status: Android Emulator requires an Intel processor with VT-x and NX support. (VT-x is not supported)
[2021-05-10 18:39:15.0]
More info on configuring VM acceleration on macOS:
[2021-05-10 18:39:15.0]
https://developer.android.com/studio/run/emulator-acceleration#vm-mac
[2021-05-10 18:39:15.0]
General information on acceleration: https://developer.android.com/studio/run/emulator-acceleration.
[2021-05-10 18:39:15.0]

[2021-05-10 18:39:15.0]
遵循指南,例如 this one ,或尝试关注 this似乎不可能。
我不知道从哪里开始让它发挥作用。它在我的旧 iMac 上运行良好😩
谢谢!

最佳答案

看起来 Android 正在对支持 M1 芯片的模拟器进行更新

关于Android 模拟器 - 意外的 '-prop' 值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67475841/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com