I am having a lot of issue about it.
I gotta say that "My computer has 4 gb ram, so I'cant running Android studio effectively.
Firstly, I created an Google Virtual Machine(has 8 gb ram) and I downloaded android studio. But emulator didn't worked. Then I started to researching about this issue, in my opinion I need to enable nested virtualization on VM. I followed those steps "https://cloud.google.com/compute/docs/instances/enable-nested-virtualization-vm-instances" but it didn't worked. Genymotion, Bluestacks and many android emulator didn't worked.
How can I develop Android Apps on Virtual Machines? If is there anyway for it, please let me know.