Android Studio模拟器: VK_VERSION_1_1 check failed

标签 android android-studio android-emulator

我在使用 Android Studio 时遇到问题,当我在事件日志信息上运行 AVD 时,它总是显示

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

11:18 Emulator: deleteSnapshot: for default_boot

enter image description here

最佳答案

我通过调整这个解决了我的问题:

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

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

# 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 check failed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58152237/

相关文章:

javascript - 如何以编程方式获取 Facebook Messenger 对话并将其存储到本地数据库?

android-studio - 找不到参数的方法 ksp()

android - 使用位图工厂选项支持多个屏幕?

android - 使用 Android Studio 和模拟器,C :\drive is about to die

Android模拟器拒绝启动

android - 我可以在 Android Studio 的 app.gradle 文件中将 AppCompat 版本设置为大于设计版本吗

android - 为残疾 child 禁用安卓导航按钮

java - OkHttp 取消调用回调失败

java - Android Studio 在调试器中看不到静态 : no such static field

android - 即使应用被杀死,声音仍会继续播放