Android Studio Emulator: VK_VERSION_1_1 check failed
I have a problem with Android Studio, when I run AVD on the event log information it always says
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
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
My sistem:
- Linux Kernel: 5.4.6-2-MANJARO
- Android Q (10.0)
- Emulator 29.3.5
Run into the same issue and here how I solve this, Launch Android Virtual Device with android studio puzzled me a lot, post my actions here just as a reference.
- Uninstall latest Radeon GPU drive(
Adrenalin 2019 Edition 19.10.2 Optional
) - Install the latest Recommended drive(
Adrenalin 2019 Edition 19.9.2 Recommended (WHQL)
) - Enable the
Windows Hypervisor Platform
feature(Reference).
now you can run x86 images in AVD.
And, don't know if some info related to this, since these words always are shown together, I also paste here.
- Using
AMD RYZEN 3700X
andAMD Radeon 5700XT
hardware. - enabled CPU Virtualization (called
AMD-V
) in BIOS(Reference) - Disabled
Hyper-v
inturn windows features on or off
(distinguish fromWindows Hypervisor Platform
above, they are quite different things) - Using the latest android studio(
version 3.5.1
)