Android Studio模拟器:VK_VERSION_1_1检查失败 [英] Android Studio Emulator: VK_VERSION_1_1 check failed

查看:1010
本文介绍了Android Studio模拟器:VK_VERSION_1_1检查失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Android Studio时遇到问题,当我在事件日志信息上始终显示AVD时

I have a problem with Android Studio, when I run AVD on the event log information it always says

11:17模拟器:VK_VERSION_1_1检查失败:vkBindBufferMemory2没有 找到

11:17 Emulator: VK_VERSION_1_1 check failed: vkBindBufferMemory2 not found

11:17模拟器:VK_VERSION_1_1检查失败:vkBindImageMemory2没有 找到

11:17 Emulator: VK_VERSION_1_1 check failed: vkBindImageMemory2 not found

11:17模拟器:VK_VERSION_1_1检查失败: 找不到vkGetDeviceGroupPeerMemoryFeatures

11:17 Emulator: VK_VERSION_1_1 check failed: vkGetDeviceGroupPeerMemoryFeatures not found

11:17模拟器:VK_VERSION_1_1检查失败:vkCmdSetDeviceMask没有 找到

11:17 Emulator: VK_VERSION_1_1 check failed: vkCmdSetDeviceMask not found

11:17模拟器:VK_VERSION_1_1检查失败:vkCmdDispatchBase没有 找到

11:17 Emulator: VK_VERSION_1_1 check failed: vkCmdDispatchBase not found

11:17模拟器:VK_VERSION_1_1检查失败: 找不到vkGetImageMemoryRequirements2

11:17 Emulator: VK_VERSION_1_1 check failed: vkGetImageMemoryRequirements2 not found

11:17模拟器:VK_VERSION_1_1检查失败: 找不到vkGetBufferMemoryRequirements2

11:17 Emulator: VK_VERSION_1_1 check failed: vkGetBufferMemoryRequirements2 not found

11:17模拟器:VK_VERSION_1_1检查失败: 找不到vkGetImageSparseMemoryRequirements2

11:17 Emulator: VK_VERSION_1_1 check failed: vkGetImageSparseMemoryRequirements2 not found

11:17模拟器:VK_VERSION_1_1检查失败:vkTrimCommandPool没有 找到

11:17 Emulator: VK_VERSION_1_1 check failed: vkTrimCommandPool not found

11:17模拟器:VK_VERSION_1_1检查失败: 找不到vkCreateSamplerYcbcr转换

11:17 Emulator: VK_VERSION_1_1 check failed: vkCreateSamplerYcbcrConversion not found

11:17模拟器:VK_VERSION_1_1检查失败: 找不到vkDestroySamplerYcbcr转换

11:17 Emulator: VK_VERSION_1_1 check failed: vkDestroySamplerYcbcrConversion not found

11:17模拟器:VK_VERSION_1_1检查失败: 找不到vkCreateDescriptorUpdateTemplate

11:17 Emulator: VK_VERSION_1_1 check failed: vkCreateDescriptorUpdateTemplate not found

11:17模拟器:VK_VERSION_1_1检查失败: 找不到vkDestroyDescriptorUpdateTemplate

11:17 Emulator: VK_VERSION_1_1 check failed: vkDestroyDescriptorUpdateTemplate not found

11:17模拟器:VK_VERSION_1_1检查失败: 找不到vkUpdateDescriptorSetWithTemplate

11:17 Emulator: VK_VERSION_1_1 check failed: vkUpdateDescriptorSetWithTemplate not found

11:17模拟器:VK_VERSION_1_1检查失败: 找不到vkGetDescriptorSetLayoutSupport

11:17 Emulator: VK_VERSION_1_1 check failed: vkGetDescriptorSetLayoutSupport not found

11:17模拟器:createOrGetGlobalVkEmulation:警告:Vulkan 1.1 API 设备中缺少

11:17 Emulator: createOrGetGlobalVkEmulation: Warning: Vulkan 1.1 APIs missing from device

11:18模拟器:deleteSnapshot:用于default_boot

11:18 Emulator: deleteSnapshot: for default_boot

推荐答案

我通过调整以下内容解决了我的问题:

I have solved my problem by adapting this:

https://androidstudio.googleblog.com/2019/05/emulator-2909-stable.html

这是一种解决方法,而不是解决方案

It's a work around rather than a solution

# Here's how to disable Vulkan apps to talk to the emulator.

# Add the following lines to ~/.android/advancedFeatures.ini (create this file if it doesn't exist already):

Vulkan = off
GLDirectMem = on

我的系统:

  • Linux内核:5.4.6-2-MANJARO
  • Android Q(10.0)
  • 仿真器29.3.5

这篇关于Android Studio模拟器:VK_VERSION_1_1检查失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆