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

后端 未结 11 718
無奈伤痛
無奈伤痛 2021-01-06 03:06

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 respo

11条回答
  •  南笙
    南笙 (楼主)
    2021-01-06 03:29

    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

提交回复
热议问题