当我在 64 位 Windows 10 Pro 中从 Android Studio 运行模拟器时,它显示以下错误:
13-01-2021
10:42 AM Emulator: handleCpuAcceleration: feature check for hvf
10:42 AM Emulator: cannot add library vulkan-1.dll: failed
10:42 AM Emulator: cannot add library vulkan-1.dll: failed
10:42 AM Emulator: Process finished with exit code -1073741819 (0xC0000005)
Run Code Online (Sandbox Code Playgroud)
并且模拟器没有打开。我已经卸载了当前版本 (4.1.1) 并安装了 Android Studio 4.0.1,但问题没有解决,现在我使用的是最新版本的 Android Studio,即 4.1.1。
这是颤振医生的输出:

我对Android Studio有问题,当我在事件日志信息上运行AVD时,它总是显示
11:17模拟器:VK_VERSION_1_1检查失败:vkBindBufferMemory2未找到
11:17模拟器:VK_VERSION_1_1检查失败:vkBindImageMemory2未找到
11:17模拟器:VK_VERSION_1_1检查失败:vkGetDeviceGroupPeerMemoryFeatures未找到
11:17模拟器:VK_VERSION_1_1检查失败:vkCmdSetDeviceMask未找到
11:17模拟器:VK_VERSION_1_1检查失败:vkCmdDispatchBase未找到
11:17模拟器:VK_VERSION_1_1检查失败:vkGetImageMemoryRequirements2未找到
11:17模拟器:VK_VERSION_1_1检查失败:vkGetBufferMemoryRequirements2未找到
11:17模拟器:VK_VERSION_1_1检查失败:vkGetImageSparseMemoryRequirements2未找到
11:17模拟器:VK_VERSION_1_1检查失败:未找到vkTrimCommandPool
11:17模拟器:VK_VERSION_1_1检查失败:vkCreateSamplerYcbcrConversion未找到
11:17模拟器:VK_VERSION_1_1检查失败:vkDestroySamplerYcbcrConversion未找到
11:17模拟器:VK_VERSION_1_1检查失败:vkCreateDescriptorUpdateTemplate未找到
11:17模拟器:VK_VERSION_1_1检查失败:vkDestroyDescriptorUpdateTemplate未找到
11:17模拟器:VK_VERSION_1_1检查失败:vkUpdateDescriptorSetWithTemplate未找到
11:17模拟器:VK_VERSION_1_1检查失败:vkGetDescriptorSetLayoutSupport未找到
11:17模拟器:createOrGetGlobalVkEmulation:警告:设备缺少Vulkan 1.1 API
11:18模拟器:deleteSnapshot:用于default_boot
当我尝试在 Mac 上的 Andriod Studio 上运行该项目时,出现如下内部错误:
Andriod Emulator closed because of an internal error:
emuglConfig_init: blaclisted=0 has_guest_renderer=1
emuglConfig_init: auto-selected host based on conditions and UI preference 0
Deciding if GLDirectMem/Vulkan should be enabled.
Selected renderer: 1API level: 27 host GPU blacklisted?1
Host GPU selected, not enabling Vulkan because either API level is
Not enabling Vulkan here(Feature flag may be turned on manually)
Run Code Online (Sandbox Code Playgroud)
请查看随附的错误屏幕截图以获取更多详细信息: