Windows (phone) emulator 8.1/10 stuck at loading t

2019-02-09 02:01发布

I've been trying to get the emulator to work for days. Previously I tried the Windows Phone 8.1 Emulator as well as the Windows 8.1 Simulator and both were stuck at loading the OS.

Earlier today I installed the new Windows 10 Tools and thought I should give it another try with the new Windows 10 Emulator... And no, still the same result.

enter image description here

What's strange is that, the Hyper-V Manager seems to be doing OK. I can see the app displays correctly on the little Preview window (see the box on the left side of the picture below).

Also, breakpoints are hit, the project seems to be running OK.

As many answers have already suggested, I tried letting it running for an hour, but still nothing came up.

enter image description here

Things that I've also tried include uninstalling all the Virtual Machines as well as repairing the WP 8.1 Emulator, nothing has worked so far.

Please help, this has driven me completely insane. :(

Update

Not sure if this would help, but if I change the Windows Phone Emulator Internal Switch to use Private network instead of Internal, I will get a couple of warnings saying Unable to determine the Host IP address and then the Emulator will show up with the Emergency Call screen. Not much I can do from there as the three buttons on the bottom are not functioning at all.

I understand that changing the connection type is not the right way to do it, but this at least tells me that the Emulator can work, it's just a matter of how.

11条回答
趁早两清
2楼-- · 2019-02-09 02:38

Not sure if this would help, but if I change the Windows Phone Emulator Internal Switch to use Private network instead of Internal, I will get a couple of warnings saying Unable to determine the Host IP address and then the Emulator will show up with the Emergency Call screen. Not much I can do from there as the three buttons on the bottom are not functioning at all.

when you set it to private network, Windows can't interact with your WP Emulator. Open Network Adapter, and try disable and try start emulator again, then enable again this adapter if it is not work *

查看更多
萌系小妹纸
3楼-- · 2019-02-09 02:39

I know the question is old, but none of the above answers worked for me so I write down my two cents:

  • Go to Hyper-V console and remove all emulators
  • Go to Devices Management, under network adapters tree node, delete all virtual switches
  • Run an emulator from Visual Studio and see the magic happen
查看更多
趁早两清
4楼-- · 2019-02-09 02:40

Try the following.

  1. Open the Hyper-V Manager
  2. In the Actions pane, click Hyper-V Settings
  3. In the Server pane, select Physical GPUs
  4. Uncheck, Use this GPU with RemoteFX
  5. Click OK to save/close.

Attempt to start the Windows Phone emulator VM from within Hyper-V Manager or Visual Studio.

查看更多
劫难
5楼-- · 2019-02-09 02:47

This worked for me:

  1. Go to Windows Defender.
  2. Add exclusion following path: "C:\Users\UserName\AppData\Local\Microsoft\XDE\YourEmulatorVersion"

YourEmulatorVersion - for example 10.0.14393.9

查看更多
虎瘦雄心在
6楼-- · 2019-02-09 02:49

The workaround steps to install the Windows SDK and Emulator are no longer needed.

We have released a fix as of 7PM PDT 30 April 2015 for the setup error

Windows 10 SDK 10.0.10069 : The installer failed.

User cancelled installation. Error code: -2147023294"

New setups should no longer encounter this issue.

For existing installations, and for more information, see this forum post: https://social.msdn.microsoft.com/Forums/en-US/17bc9d5e-2ea7-4149-bb75-23997db8bd25/

查看更多
登录 后发表回答