Unable to start the Windows Phone Emulator

2019-02-03 04:31发布

I've seen this error several times. Each time I google deeply and finally made me reinstall my windows and all stuffs. Please help, I don't want to reinstall everything again. The error is:

Windows Phone Emulator

Unable to start the Windows Phone Emulator

Windows Phone Emulator is unable to start because 
the hypervisor is not running. The likely cause is
that hardware-assisted virtualization is not enabled.

Check your computer's BIOS to ensure that hardware-
assisted virtualization and hardware-assisted data 
execution features are enabled.

Unable to start the Windows Phone Emulator

But yesterday I debugged really normally on Windows Phone using Emulator and I really sure
I've turned on Virtualization in BIOS and also in Turn Windows features on or off : Turned on all

Sometimes when I hit f5 the IDE come with another error: 0x80131500 enter image description here

My PC: windows 8.1 ultimate 64b, 4gb ram, i3, Visual Studio 2013 RC3

3条回答
乱世女痞
2楼-- · 2019-02-03 05:10

If the accepted answer doesn't work for you - as it unfortunately did not for me - also be sure to enable Data Execution Prevention (DEP) in your BIOS.

The article below outlines what BIOS settings to enable for Hyper-V: https://msdn.microsoft.com/en-us/library/windows/apps/jj863509%28v=vs.105%29.aspx

In my case, I had hardware-assisted virtualization enabled in the BIOS, but not data execution prevention (DEP). I also had Hyper-V enabled via Windows Features. After enabling DEP in the BIOS, I was able to run the Windows phone emulator.

查看更多
我命由我不由天
3楼-- · 2019-02-03 05:11

CMD with admin rights:

bcdedit /set hypervisorlaunchtype auto

and reboot.

查看更多
乱世女痞
4楼-- · 2019-02-03 05:13

Finally after struggling all day, I solved it ^^ I post the solution here so that somebody don't have to waste time just like me to solve such a silly error!

  1. Just simple disable Hyper-V option in Turn Windows features on or off (you could open this by hit the combination Windows + S, this will open the search box, then type "Turn Windows features on or off"
  2. restart your PC
  3. enable the Hyper-V option by using the same way as step 1.

Enjoy coding :D

查看更多
登录 后发表回答