Forum Discussion
Siddhesh1992
Nov 20, 2021Copper Contributor
Cannot open android studio emulator when wsl is active
Hi
I recently bought new laptop with win 10 and upgraded to win 11
I have installed wsl2 with ubuntu for running docker and android studio for developing android apps
I cannot start emulator when WSL-2 is active
I have to use below command to run my android studio emulator
bcdedit /set hypervisorlaunchtype off
and similarly I have to use
bcdedit /set hypervisorlaunchtype auto
to run ubuntu using WSL-2
then again android studio emulator stops to work
I have to restart every time when I run above command which is tedious
And if I install android studio on WSL-2 there is a http://localhost problem
No RepliesBe the first to reply