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条回答
forever°为你锁心
2楼-- · 2019-02-02 03:43

If you have a computer with a touch-screen and get this error, it can be because Hyper-V is trying to port over the touchscreen-fx to the virtual device.

This is (when found) easily corrected:

  1. Shut down all attempt at launching virtual devices.

  2. Go to: Hyper-V Manager->Hyper-V-settings->Physical GPU:s // Uncheck box "use this GPU with RemoteFX"

查看更多
看我几分像从前
3楼-- · 2019-02-02 03:44

Just reboot

No magic needed. Just reboot your development machine after installing Windows Phone SDK.

查看更多
狗以群分
4楼-- · 2019-02-02 03:50

If you are loading the emulator for the first time, it behaves just like the phone (on first boot) where it will install the initial set of apps and configure them. Which is why the first start will take a long time. You can actually open Hyper-V manager and connect to the VM you had selected at the time of initiating debug - to see the actual progress of what is happening. Hope this helps.

查看更多
Explosion°爆炸
5楼-- · 2019-02-02 03:54

what your describing is usually due to a Firewall of a third party Anti-virus.

If your using Symantec follow this procedure https://stackoverflow.com/a/26326528/4446346

If your using Windows Firewall follow this procedure https://stackoverflow.com/a/27685167/4446346

and If you'r using AVG do the following procedure:

  1. open AVG and go to-->Options-->Firewall Settings-->Expert mode-->Advanced Settings.
  2. Check the "Allow any traffic from/to virtual machines supported by firewall"
  3. and click "OK".

One more thing you must do is go to the "Windows Phone Emulator Internal Switch" and uncheck "AVG network filter driver"

  1. open Network and Sharing Center-->Change Adapter Settings-->Properties

  2. Uncheck "AVG network filter driver"

查看更多
Deceive 欺骗
6楼-- · 2019-02-02 03:54

You can disable Hyper-V from Program and Features and reboot your machine twice. Everything will be default. Enable Hyper-V and reboot twice and everything should be working again.

查看更多
够拽才男人
7楼-- · 2019-02-02 03:56

the solution that worked for me :

  1. open Hyper V
  2. Select ur VM and go to Virtual Switch Manager.
  3. Select Windows Phone Emulator Internal
  4. if your connection is Internal then , check the Enable VLAN Identification option
  5. press F5 from VS .

good luck!

查看更多
登录 后发表回答