'Unable to run Android emulator on virtual machine

I get the following error when i try to run emulator on virtual machine. "Emulator is running using nested virtualization. This is not recommended. It may not work at all. And typically the performance is not quite good" and the emulator terminates. Please note haxm is installed, hyper v is disabled.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source