【问题标题】:Failed to create Vulkan instance - Windows 10 - VS 2019无法创建 Vulkan 实例 - Windows 10 - VS 2019
【发布时间】:2021-04-21 00:00:50
【问题描述】:

我无法使用 Q 10.0 操作系统运行 Android 模拟器。以下是我得到的日志:

[2021-01-15 17:21:21.8] 
WARNING: unexpected '-prop' value ('monodroid.avdname=my_device'), only 'qemu.*' properties are supported
[2021-01-15 17:21:21.8] 
WARNING: unexpected '-prop' value ('emu.uuid=5f323b97-8e78-44d1-9682-8c0db057f863'), only 'qemu.*' properties are supported
[2021-01-15 17:21:22.6] 
handleCpuAcceleration: feature check for hvf
[2021-01-15 17:21:22.7] 
added library vulkan-1.dll
[2021-01-15 17:21:22.7] 
emulator: ERROR: VkCommonOperations.cpp:537: Failed to create Vulkan instance.
[2021-01-15 17:21:23.2] 
dsound: Could not initialize DirectSoundCapture
[2021-01-15 17:21:23.2] 
dsound: Reason: No sound driver is available for use, or the given GUID is not a valid DirectSound device ID
[2021-01-15 17:21:23.2] 
dsound: Attempt to initialize voice without DirectSoundCapture object
[2021-01-15 17:21:23.2] 
dsound: Attempt to initialize voice without DirectSoundCapture object
[2021-01-15 17:21:23.2] 
audio: Failed to create voice `goldfish_audio_in'
[2021-01-15 17:21:23.2] 
C:\Program Files (x86)\Android\android-sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: warning: opening audio input failed
[2021-01-15 17:21:23.2] 
dsound: Attempt to initialize voice without DirectSoundCapture object
[2021-01-15 17:21:23.2] 
dsound: Attempt to initialize voice without DirectSoundCapture object
[2021-01-15 17:21:23.2] 
audio: Failed to create voice `adc'
[2021-01-15 17:21:23.3] 
emulator: WARNING: System.cpp:1199: Ignoring invalid parameter detected in function: 0000000000000000 file: 0000000000000000, line: 0, expression: 0000000000000000
[2021-01-15 17:21:23.3] 
emulator: WARNING: System.cpp:1199: Ignoring invalid parameter detected in function: 0000000000000000 file: 0000000000000000, line: 0, expression: 0000000000000000
[2021-01-15 17:21:26.4] 


尝试将 hw.gpu.mode 更改为 swiftshader,但没有帮助。 API 29 已安装。有谁知道如何修复它,它在 API 28 (Pie 9.0) 的模拟器上运行良好。

【问题讨论】:

    标签: xamarin.android android-emulator windows-10 visual-studio-2019


    【解决方案1】:

    最后我成功了,即使安装了 HAMX,我也必须运行 C:\Program Files (x86)\Android\android-sdk\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm-android.exe 手动安装最新版本。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-12-30
      • 2021-02-01
      • 2020-01-27
      • 2019-10-20
      • 1970-01-01
      • 2023-02-06
      • 2022-11-07
      • 2022-06-13
      相关资源
      最近更新 更多