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

查看:95
本文介绍了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 not找到

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 检查失败:找不到 vkCreateSamplerYcbcrConversion

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

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

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/模拟器-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天全站免登陆