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.