6

In android studio I created a device in AVD and when I click the play button I get this:

enter image description here

Here are the logs:

12:22 PM    Emulator: emulator: ERROR: VkCommonOperations.cpp:540: Failed to create Vulkan instance.

12:22 PM    Emulator: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

This is a react native project that runs successfully when I connect a physical device, so I think the problem is with android studio itself and not the project.

What I've tried:

  1. $ sudo apt install mesa-vulkan-drivers according to this answer
  2. $ sudo ubuntu-drivers autoinstall according to this answer
  3. Reinstalling android studio and creating a new device in the AVD

I have no idea how to solve this, so any help is much appreciated! :)

Shining Love Star
  • 5,734
  • 5
  • 39
  • 49

1 Answers1

0

After spent a whole day I have found the solution. Just uninstall the existing system image of your emualtor and then download the new Google play system image emulator . It works for me!!

  • 1
    can you elaborate on "download the new Google play system image emulator"? do you mean add a device to AVD? please add more details :) – Shining Love Star Oct 14 '20 at 07:04
  • While creating new AVD it will show download option to select the R or Q or Pie.... in that window, just click on it and then complete the process. That's it – Ganesh Krishnamoorthy Oct 14 '20 at 14:34