我在使用 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
最佳答案
我通过调整这个解决了我的问题:
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/