Just installed VS2015 Community Edition appeared this problem, wp8.1 and win10m Simulator can not start, find a long time to find the solution, put here for your reference, lest everyone like me detours: Windows Phone emulator not starting ( Couldn ' t setup the UDP port
|
After updating Windows ten to build 10061 the Windows Phone emulators (all 8.1 and) stopped starting. I get the following error: "Windows Phone Emulator is unable to connect to the Windows Phone operating system. Couldn ' t setup the UDP Port ' I tried "reparing" emulators, but nothing changed. Hyper-V Manager shows that virtual machine works, and it can be started directly from Hyper-V manager. As I said, in previous Windows ten TP builds it was OK. |
|
|
Solution One:
|
Do-See your "Virtual Switch" information Under:control panel\network and Internet\network C Onnections? If not, you can try the recreate your "Windows Phone Emulator Internal Switch" again from Hyper-V to see if that resolves Y Our issue. Try these steps below: 1.) Open Hyper-V 2.) Shutdown any existing configured Phone emulators. 3.) Click on "Virtual Switch Manager" 4.) Click on the "Windows Phone Emulator Internal Switch" 5.) Remember What the settings is displayed there (because you'll delete it and recreate it) 6.) Delete the existing "Windows Phone Emulator Internal Switch" by clicking "Remove" 7.) Click "Apply" and "OK" 8.) Re-create the "Windows Phone Emulator Internal switch" by clicking the "New Virtual network switch" and use the same Setti NGS remembered in Step 5. 9.) then try to F5 from Visual Studio-which should configure a new emulator on the right virtual switch. |
|
|
It works, thanks a lot! –nikita_97_10 Apr ' at 17:59 |
|
Worked for me too, Cheers–aquinas could 4 ' at 9:00am |
|
WOOOO hoooo!!! Worked for me too. Crisis adverted, Prash yoyuuuuuddaaamannnn–mattymerrix Jul ' at 15:03 |
|
It works for me, thanks a lot. :) –murari Kumar Oct at 11:15 |
|
No need for steps 5 and 8. Once try to run the Enumlator from VS the virtual switch would be re-created. –stankovski at 16:09 |
|
Solution II (which I resolved through this solution):
|
The solutions above did not work for me. I found out that the issue is with the Hyper v adapters so I decided to deleted them which caused Hyper-V to create them Again. These is the steps
Run cmd as admin and enter the following commands Set Devmgr_show_nonpresent_devices=1 Start Devmgmt.msc
This would startup the Device Manager and show the list of Hyper V network adapters
Right click and uninstall all Hyper V network adapters
Open Hyper v Manager and delete the virtual machines
From Virtual Switch Manager (right side of Hyper-V manager), delete all internal switches
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/
|
|
|
Thanks! Since the emulator wouldn ' t work and I don ' t know why. Now it ' s fixed! –TDK ' at 8:41 |
|
Very good. This works for Me–amir Dec "at 16:28 |
|
seriously-if I could upvote this S-i tried everything else before this (couldnt launch Visual Studio Android emulator) Thanks! – adam Tuliper- Msft Jan at 6:44 |
|
Worked like a charm. Thank you! –luis Beltran Feb 5 at 9:08 |
|
Solution Three:
|
I had similar problem, I tried the various solutions offered (cleaning up the hyper-V images and network switches), Reinst Alling Hyper-V, reinstalling Visual Studio, restoring to Old System Restore point-but None of my actions didn ' t resolved The problem. But I tried below action which fixed the problem, off course some might able to resolve the problem with above steps and O Ther answers provided. In my case, my virtual adapter doesn ' t has the network connectivity. I shared my Wi-Fi adapter connectivity to virtual adapter. This is fixed for me and I can able to deploy apps into emulator without any crashes. |
|
|
What know ...? I Love you! –tipa Jan at 1:39 |
|
Good call @mahender! This helps for me too! –dachibox Feb at 19:12 |
|
Solution IV:
|
For me, the following steps worked:
Open Hyper-V Manager and delete all emulators
From Virtual Switch Manager (right side of Hyper-V manager), delete all internal switches
From Control panel->network and sharing Center, disable the virtual Ethernet port for Windows Phone emulator
Start Visual Studio and start emulator from there (Just deploy a project)
Update:your old connection would stay disabled and a new connection would be created. If you want to delete the old connection, go to Device Manager, find the connection and choose "Uninstall"
|
|
|
Solution Five:
|
In my case there is a problem with my notebook modem. It is a Sierra Wireless EM7345 4G LTE. As soon as I deactived it the Win10 Mobile Emulator worked like a charm. |
|
|
Solution VI:
|
For me all above solutions didn ' t work. Maybe because my Ethernet is disabled. My solution is similar to other: 1) Delete VM ' s from Hyper-V 2) Delete all internal switches 3) Create manually new switch and select WiFi Screenshot 4) Install VM profile 5) Start it:) ... After 6h endly
|
original link: Windows Phone emulator not starting (couldn ' t setup the UDP port)Original MHT single page archive: vs Simulator startup Problem Unable to set UDP port resolution. rar
Vs2015 WIN10 Virtual machine startup problem: Unable to set UDP port resolution collection (reprint)