刚装的vs2015 社区版 出现这个问题,wp8.1和win10m模拟器都无法启动,找了好久找到的解决方案,放这儿供大家参考,免得大家像我一样走弯路:

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

 

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 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 10 TP builds it was OK.

   
解决方案一:

 

Do you see your "Virtual Switch" information under: Control Panel\Network and Internet\Network Connections? If not, you can try to recreate your "Windows Phone Emulator Internal Switch" again from Hyper-V to see if that resolves your 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 are displayed there (because you will 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 settings you 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 28 '15 at 17:59
    
Worked for me too, cheers – Aquinas May 4 '15 at 9:00
    
Woooo hoooo!!! Worked for me too. Crisis adverted, Prash yoyuuuuuddaaamannnn – MattyMerrix Jul 30 '15 at 15:03
    
it works for me , thanks a lot .. :) – Murari Kumar Oct 23 '15 at 11:15
    
No need for steps 5 and 8. Once you try to run the enumlator from VS the virtual switch will be re-created. – stankovski Nov 30 '15 at 16:09

解决方案二(我是通过这个方案解决的):

 

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/

 
 
    
Thanks ! Since two days the emulator wouldn't work and I don't know why. Now it's fixed ! – TDK Aug 24 '15 at 8:41
    
very good. This works for me – Amir Dec 13 '15 at 16:28
    
seriously - if I could upvote this 1000 times - I tried everything else before this (couldnt launch visual studio android emulator) Thanks! – Adam Tuliper - MSFT Jan 27 at 6:44 
    
Worked like a charm. Thank you! – Luis Beltran Feb 5 at 9:08

解决方案三:

 

I had similar problem, i tried the various solutions offered (cleaning up the Hyper-V images and network switches), reinstalling 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 other answers provided.

In my case, my virtual adapter doesn't have network connectivity. I shared my wi-fi adapter connectivity to virtual adapter. This fixed for me, i can able to deploy apps into emulator without any crashes.

 
    
you know what...? I LOVE YOU! – tipa Jan 11 at 1:39
    
Good call @mahender! this helps for me too! – dachibox Feb 15 at 19:12

解决方案四:

 

For me, the following steps worked:

  1. Open Hyper-V manager and delete all emulators

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

  3. From Control Panel->Network and Sharing Center, disable the virtual ethernet port for windows phone emulator

  4. Start Visual Studio and start emulator from there (Just deploy a project)

    Update: Your old connection will stay disabled and a new connection will be created. If you want to delete the old connection, go to device manager, find the connection and choose "uninstall"

   

解决方案五:

In my case there was 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.

   

解决方案六:

 

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

 
 

Vs2015 win10虚拟机启动问题:无法设置UDP端口 解决方法 合集(转载)的更多相关文章

  1. VMWare启动虚拟机失败,提示锁定文件失败解决方法

    1.问题描述:未正常关闭虚拟机,重新启动时,VMWare启动虚拟机失败 2.解决方法: ①找到该虚拟系统所在的目录,即弹出框中的目录,在目录中找到Windows XP Professional.vmx ...

  2. Linux启动ftp服务器530 Permission denied解决方法(已试,行)

    Linux启动ftp服务器530 Permission denied解决方法重新在虚拟机下安装了linux.现在我想启动linux自带的ftp服务器:#service  vsftpd  start . ...

  3. 安装oracle11g INS-30131执行安装程序验证所需的初始设置失败的解决方法

    安装oracle11g [INS-30131] 执行安装程序验证所需的初始设置失败. 解决方法 第一步:控制面板>所有控制面板项>管理工具>服务>SERVER 启动 TCP/I ...

  4. win10系统下计算器界面变成英文的解决方法

    标题: win10系统下计算器界面变成英文的解决方法 作者: 梦幻之心星 347369787@QQ.com 标签: [win10, 计算器, 英文] 目录: 软件 日期: 2019-04-20 目录 ...

  5. 使用AdvancedInstaller打包web工程设置tomcat端口的方法

    原文:使用AdvancedInstaller打包web工程设置tomcat端口的方法 1.首先,要把你要打包的tomcat下的server.xml文件删掉,因为tomcat自带的serv ...

  6. 表格Table宽度设置无效的解决方法

    表格Table宽度设置无效的解决方法 bootstrap中使用table时发现不管用width赋值方式都无法改变table>td的宽度 解决方法: 设置table:table-layout:fi ...

  7. Tomcat 启动提示未发现 APR 的解决方法

    Tomcat 启动出现信息如下: 信息: The APR based Apache Tomcat Native library which allows optimal performance in ...

  8. win10无法写入删改c盘文件的解决方法

    前言 最近使用了win10系统,结果发现无法对c盘的文件进行写入删改,在网上到处搜集资料,终于找到了解决方法,这里总结一下. 首先,本文针对的是win10家庭版,家庭版默认是不提供组策略功能,而我们需 ...

  9. VMware 12虚拟机下Ubuntu 16连不上网解决方法

    打开自带Firefox浏览器,显示连接不上网,终端下 ping 也显示 unkown   解决方法: 1.打开虚拟机的“编辑”选项,选择“虚拟网络编辑器” 2.选择VMnet8(我不知道为啥VMnet ...

随机推荐

  1. (CentOS) 程序安装包管理:yum

    简介: Yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及CentOS中的Shell前端软件包管理器.基于RPM包管理,能够从指定的服务器 ...

  2. POJ3267——The Cow Lexicon(动态规划)

    The Cow Lexicon DescriptionFew know that the cows have their own dictionary with W (1 ≤ W ≤ 600) wor ...

  3. 总结JavaScript(Iframe、window.open、window.showModalDialog)父窗口与子窗口之间的操作

    一.Iframe 篇 //&&&&&&&&&&&&&&&&&&a ...

  4. Angular service

    <!DOCTYPE html> <html lang="en" ng-app="myApp"> <head> <met ...

  5. 【CCS仿真】用matlab把CCS保存的32位16进制的数据转换为十进制的数

    2013-12-04 16:37:28 使用fscanf函数即可完成. 例如,CCS保存的.dat文件Copy_of_forward_i_f.dat如下: 1651 1 81008800 0 4000 ...

  6. ubuntu samba服务器多用户配置【转】

    转自:http://www.2cto.com/os/201204/127043.html ubuntu samba服务器多用户配置   在/home/下有多个用户目录A.B...,现通过samba共享 ...

  7. Socket 通信原理(Android客户端和服务器以TCP&&UDP方式互通)

    转载地址:http://blog.csdn.net/mad1989/article/details/9147661 ZERO.前言 有关通信原理内容是在网上或百科整理得到,代码部分为本人所写,如果不当 ...

  8. HDU 4691 Front compression(后缀数组)

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4691 题意:给出Input,求出Compressed output.输出各用多少字节. 思路:求后缀数 ...

  9. CSS文字控制与文本控制

    一.CSS控制文字属性: 1.font-size:18px;:设置字号(默认是16px=1em),一般在制作网页的时候,先在body里同一设置下字体大小2.color:#093:设置字色3.font- ...

  10. Qt之QLCDNumber

    简述 QLCDNumber控件用于显示一个LCD数字. 它可以显示几乎任意大小的数字.可以显示十进制.十六进制.八进制或二进制数.很容易使用display()槽连接到数据源,这个槽可以被任何五个参数类 ...