Reputation: 27
I just installed Android Studio and I've been trying to figure out for the past 3 hours why it is that when I try to run my newly created project on a emulated phone it doesn't work.
It's not even that the program doesn't work; it's that it freezes the moment I open it. I've tried uninstalling/reinstalling HAXM, SDKs for the phone, and recreating the phone / wiping the data on the phone and retrying, and nothing's worked so far.
What causes this problem? Please see the picture to see what the problem is.
P.S.: I'm using Android Studio on Windows. My system is beefy and should be able to run the emulator fine. I have Virtualization Enabled too.
Upvotes: 1
Views: 5684
Reputation: 639
This helps me in getting it to work: switch off Hyper-V on Windows:
Open a PowerShell window as Administrator and run:
bcdedit /set hypervisorlaunchtype off
Reboot afterwards. Alternatively, run 'optionalfeatures' and select the hypervisor platform to remove. To test if it really worked, run:
emulator.exe -verbose -avd <YOUR AVD NAME>
You can list the AVDs with 'emulator.exe -list-avds'.
It is not my credits, but those of 'viet-quocnguyen'. See Android emulator not starting anymore #6471
Upvotes: 1