the windows phone emulator wasn't able to conn

2020-03-03 09:01发布

this message occurred when i run my APP

"the windows phone emulator wasn't able to connect to the windows phone operating system :

The phone didn't respond to the connect request .

some functionality may be disabled."

after searching i found this answer

"

Open Hyper-V Manager

Left column, left click on your computer name

Select Virtual Switch Manager

Select the Windows Phone Emulator Switch

Click on the remove button on the right side of the window.

launch the emulator

Accept the elevation of privilege asked

"

but message still appeared and my problem not solved

Hint:

Hyper V enabled

OS in my Laptop win 8.1 Enterprise (64-Bit)

Visual Studio 2012 Ultimate , Update 3

SDK 8

11条回答
劳资没心,怎么记你
2楼-- · 2020-03-03 09:17

do you have installed symantec? If so thats the issue. i am able to run only after disabling symantec. so you may choose to do so.

Regards, Pankaj

查看更多
男人必须洒脱
3楼-- · 2020-03-03 09:17

I followed these steps and it solved my problem.

  1. Move to “Control Panel\All Control Panel Items\Administrative Tools”, Here remove each and every Virtual Machines listen under.
  2. Remove Hyper-V and then Restart the System.
  3. After restarting, Install Hyper-V once again.
  4. Open Visual Studio and Run any Windows Phone 8 app to start the emulator.
  5. It will create again all needed Virtual Machines( you can notice from Hyper-V Manager tools)
  6. While loading emulator, it will prompt for letting the emulator access the internet. say yes.
  7. Let the emulator and your project fully load
  8. Now you need to shutdown the emulator( by closing directly or use Shift + F5) and close the Visual Studio.
  9. Now Open Network and Sharing Centre
  10. Click change Adapter Settings (Listed on the left hand side)
  11. Now you will see there - “Control Panel\Network and Internet\Network” Connections. some new adapter created by HyperV, they should be called “vEthernet(…)”
  12. Here, You need to focus on the vEthernet( Virtual Switch) and vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)
  13. Now right click on vEthernet( Virtual Switch) and click on the properties and navigate to the sharing tab.
  14. Here, Choose Allow other Network users to connect and choose the vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch) as the adapter and then save the changes and close Windows.
  15. Everything work now.(Make sure your Wi-fi is working properly)

Source

查看更多
萌系小妹纸
4楼-- · 2020-03-03 09:17

It's a firewall issue as above top 2 answers. I uncheck 'Enable Firewall' at Symantec Endpoint Protection > Network Threat Protection > Option. After the VM started, firewall can be turned back on.

查看更多
一夜七次
5楼-- · 2020-03-03 09:18

I noted that in my Device Manager I had a warning against Network adapters / "Hyper-V Virtual Switch Extension Adapter".

My resolution was to use Hyper V manager to remove the "Windows Phone Emulator Internal Switch":

1...Launch Hyper V Manager 2...Virtual Switch Manager 3...Under Virtual Switches list, select "Windows Phone Emulator Internal Switch" and click Remove 4...Refer back to Device Manager - the "Hyper-V Virtual Switch Extension Adapter" warning will have been removed 5...Create a new Virtual network switch (Internal), using the same name 6...You then need to open the Settings for each emulator and reconnect it's Network Adapter to the newly created internal switch 7...I also ran the Emulator repair (Control Panel / Program Features / right click Windows Phone 8.1 Emulators - ENU / Change / Repair) - not sure if this had any bearing on the fix 9...I then launched VS2013 and emulator now worked

查看更多
手持菜刀,她持情操
6楼-- · 2020-03-03 09:21

I also got this error message when I ran my app with the phone emulator:

the windows phone emulator wasn't able to connect to the windows phone operating system : The phone didn't respond to the connect request . some functionality may be disabled.

This is what I did, which worked perfectly for me:

First make sure you have closed your Visual Studio and the phone emulator, then

  • Open Hyper-V Manager
  • Left column, left click on your computer name
  • Select Virtual Switch Manager
  • Select the Windows Phone Emulator Switch
  • Choose Private Network and Click Apply

Then the trick is to restart your system and go through the same step above, but this time:

  • Choose Internal Network and Click Apply

Note : You'll see some Loading in progress,that's all , then start your phone Emulator Again

查看更多
forever°为你锁心
7楼-- · 2020-03-03 09:21

I have tried all guides above, nothing help. Finally, I uninstall vmware player 12 and then it's work. Hope this tip could help you.

查看更多
登录 后发表回答