Windows Phone emulator not starting (couldn`t setup the UDP port)

前端 未结 15 1655
春和景丽
春和景丽 2020-12-02 13:46

After updating Windows 10 to build 10061 windows phone emulators (all 8.1 and 10) stopped starting. I get the following error: \"Windows Phone Emulator is unable to connect

相关标签:
15条回答
  • 2020-12-02 14:20

    I had a similar problem and tried many solutions and got the emulator working by doing the below steps:

    1. Remove all the virtual switches from "Virtual Switch manager"
    2. Restart your system.
    3. Goto Control Panel -> Network and Internet -> Network and Sharing Center -> Advanced sharing settings Advance sharing screen
    4. And enable "Turn on Network discovery" and "Turn on file and printer sharing" for all network profiles.
    5. Start emulator.

    Done.

    0 讨论(0)
  • 2020-12-02 14:21

    The solutions above did not work for me. I found out that the issue was with the Hyper v adapters so I decided to deleted them which caused hyper -v to create them again.

    These are the steps

    1. Run cmd as admin and enter the following commands

      set devmgr_show_nonpresent_devices=1

      start devmgmt.msc

    2. This will startup the device manager and show the list of hyper v network adapters

    3. Right click and uninstall all hyper v network adapters

    4. Open Hyper v manager and delete the virtual machines

    5. From Virtual Switch Manager (right side of hyper-v manager), delete all internal switches

    6. Restart the system and run visual studio and launch emulator

    See this for more info http://www.gfi.com/blog/how-to-remove-hidden-network-adapters-from-virtual-machines/

    0 讨论(0)
  • 2020-12-02 14:21

    The solution offered by Silmar worked for me. All-in-all it appears that at least for Windows 10 Pro that one should install Hyper-V but not configure any virtual switches as the emulator installer will configure things properly.

    0 讨论(0)
提交回复
热议问题