How to fix Android Studio error message – Emulator: createOrGetGlobalVkEmulation: Warning: Vulkan 1.0 APIs missing from instance

Android Studio upon being freshly installed displayed the below error message in the event window:

Emulator: createOrGetGlobalVkEmulation: Warning: Vulkan 1.0 APIs missing from instance

This error is due to the Vulkan APIs that are not needed if the computer has no graphics card. To overcome this error, open a terminal window and do the following:

$ vi ~/.android/advancedFeatures.ini <enter>

Add the following lines to the above file:

Vulkan = off
GLDirectMem = on

:wq

Now restart Android Studio and the Vulkan API message will no longer appear in events.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s