banderas20
Active Member
Hello.
I have a problem while trying to run an Android emulator in an Ubuntu Virtual Machine. I'm using VirtualBox7 as hypervisor.
When I run the emulator command, the android emulator launches, but I see nothing but a black screen. I got a warning popup from VirtualBox saying that Nested Virtualization could not work properly. If I run that same emulator in my host machine (also Ubuntu), it does work.
I have the virtualization enabled in my host BIOS, and in Virtual Box both checkboxes "Enable PAE/NX" and "Enable Nested VT-X/AMD-V" are ticked.
For the record, I had to run a special command to tick "Enable Nested VT-X/AMD-V" since it was initially grayed out. Maybe this is the problem.
I also read that the issue might have something to do with another hypervisor running on the host machine. Maybe KVM. But I don't know how to check it.
The host and the guest OS are the same: "Ubuntu 20.04.5 LTS"
EDIT: adding error messages:
The errors I get are these ones:
Any help will be greatly appreciated.
Thanks!
I have a problem while trying to run an Android emulator in an Ubuntu Virtual Machine. I'm using VirtualBox7 as hypervisor.
When I run the emulator command, the android emulator launches, but I see nothing but a black screen. I got a warning popup from VirtualBox saying that Nested Virtualization could not work properly. If I run that same emulator in my host machine (also Ubuntu), it does work.
I have the virtualization enabled in my host BIOS, and in Virtual Box both checkboxes "Enable PAE/NX" and "Enable Nested VT-X/AMD-V" are ticked.
For the record, I had to run a special command to tick "Enable Nested VT-X/AMD-V" since it was initially grayed out. Maybe this is the problem.
I also read that the issue might have something to do with another hypervisor running on the host machine. Maybe KVM. But I don't know how to check it.
The host and the guest OS are the same: "Ubuntu 20.04.5 LTS"
EDIT: adding error messages:
The errors I get are these ones:
Code:
Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
((null):0, (null))
INFO | Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Code:
ERROR | x86 emulation currently requires hardware acceleration!
CPU acceleration status: KVM requires a CPU that supports vmx or svm
Any help will be greatly appreciated.
Thanks!
Last edited: