Unable to start the Windows Phone Emulator

六月ゝ 毕业季﹏ 提交于 2020-01-29 02:48:04

问题


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.

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 :

Sometimes when I hit f5 the IDE come with another error: 0x80131500

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


回答1:


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




回答2:


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:


CMD with admin rights:

bcdedit /set hypervisorlaunchtype auto

and reboot.



来源:https://stackoverflow.com/questions/26070567/unable-to-start-the-windows-phone-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!