Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

enter image description here

like image 996
winter Avatar asked Sep 29 '19 04:09

winter


People also ask

How to fix emulator error in Android Studio?

If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.

Why won t my Android emulator work?

If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.

Why does my emulator keep terminating?

Why Does My Emulator Keep Crashing Android? Your emulator might keep freezing or crashing because you haven't updated it or your device storage space is full.

Why do apps sometimes look different in the designer than they do in the emulator?

The reason why the designs look different is that the emulator's screen configuration is different to that which is used to render the design preview.


1 Answers

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
like image 63
Demian Avatar answered Oct 21 '22 02:10

Demian