android-studioubuntuvirtualboxkvmubuntu-22.04

On Ubuntu 22.04, cannot run Android emulator and Virtualbox at same time (Guru Meditation)


enter image description here

I'm running Ubuntu 22.04 OS. I need to develop an Android application with an Ubuntu server inside a VirtualBox virtual machine.The problem is that I completely cannot run both the server and the emulator at the same time since I get the "Guru Meditation" error on VirtualBox. What should I do?

The current settings in the virtual machine are:


Solution

  • Guru Meditation error This means that something on your host is using VT-x/AMD-v, which means that VirtualBox can't use it.

    Have you tried to use docker for your server? Your problem is you are trying to run two different virtualization solutions and they get in conflict. A possible solution could be to use docker since it does not use hardware virtualization.