Windows Phone Emulator not working

2019-02-02 03:37发布

When I try to start debugging my windows phone 8 app in Emulator WVGA 512MB the following error message is showing

The Windows Phone Emulator wasn't able to connect to the Windows Phone operating system:

The emulator couldn't determine the host IP address, which is used to communicate with the guest virtual machine.

Some functionality may be disabled.

and the emulator is always showing The Windows Phone OS is starting... Can't understand what's the problem. Please advice.

12条回答
对你真心纯属浪费
2楼-- · 2019-02-02 03:57

At last the problem is solved.

  1. Open Hyper V Manager
  2. Delete all installed Virtual Machines
  3. Delete all Virtual Switches
  4. Restart system
  5. Rerun visual studio

Thanks to Shiv Kumar Ganesh

查看更多
啃猪蹄的小仙女
3楼-- · 2019-02-02 03:59

This worked for me (found here):

follow the following steps to solve this problem
1.go to network and sharing center
2.go to change adapter setting
3.go to v Ethernet (internal Ethernet port windows phone emulator internal switch)
4.right click it and enable it(if already enabled then disable and enable it again).

查看更多
混吃等死
4楼-- · 2019-02-02 03:59

I had the same problem. After a long investigation and checking the event log, learned that windows firewall is blocking the emulator connecting to the virtual machine. With that information it is simple to fix the problem.

Yes! Just navigate to Control Panel -> System and Security -> Windows Firewall -> Allow app or feature through Windows Firewall. And click on Add another app button and browse the emulator's path (typically "C:\Program Files (x86)\Microsoft XDE\8.0\XDE.exe" but may vary based on your installation location). Choose the appropriate network type that you want and add the new item.

Now go back to VS and run your application (close any emulator instance that you have opened already), everything should work fine now!

查看更多
Summer. ? 凉城
5楼-- · 2019-02-02 03:59

Try uninstalling vmware player 12 if you have ,I have tried several ways but nothing works until I remove it. Hope it could help you.

查看更多
Viruses.
6楼-- · 2019-02-02 04:01

Also you can check if your vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch) in Network and Sharing Center is enabled (mine was not, and I got same error like you).

查看更多
趁早两清
7楼-- · 2019-02-02 04:04

Check that you have enough free space in your hard drive.

查看更多
登录 后发表回答