Windows Phone 8模拟器未显示其操作系统的实际状态 [英] Windows Phone 8 emulator doesn't show the actual state of its OS

查看:106
本文介绍了Windows Phone 8模拟器未显示其操作系统的实际状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:

当我启动Windows Phone 8模拟器时,它将在Hyper-V中启动虚拟机.几分钟后,Windows Phone OS加载完毕(我可以通过Hyper-V管理器连接到它(尽管这种方式不方便以这种方式与WP一起玩)),但是模拟器保持不变 报告:"Windows Phone OS正在启动...".
经过一段时间(显然发生超时)后,从Visual Studio部署失败,并显示以下错误:应用部署失败.请重试."

我怎么到这里的?

当我使用wifi连接并具有动态IP地址时,一切正常.模拟器正常运行,并且Windows Phone OS中可以连接互联网.

但是不幸的是,大多数时候我必须使用带有静态IP地址的以太网连接(该地址由互联网提供商根据我的MAC地址分配给我).在这种情况下,Windows Phone仿真器中没有互联网.
据我了解,Hyper-v中的虚拟机通过其自己的以太网卡(另一个MAC地址)连接到网络,并且具有不同的IP地址.在这种情况下,它不会从我的提供商那里获得任何互联网.
即使仿真器具有相同的MAC和IP地址,也会为互联网流量造成混乱.

因此,我的笔记本电脑应该是WP仿真器的路由器.这就是为什么我要与Windows Phone仿真器交换机(vEthernet(内部以太网端口Windows Phone Emulator内部交换机))共享主要Internet(ICS)的原因.在这种情况下,我确实有互联网 在Windows Phone上,但是仅当我通过Hyper-V管理器连接时.在模拟器中,甚至在加载操作系统时也不会显示.

在我停止使用Windows Phone仿真器开关共享Internet之后,仿真器本身运行正常..但是没有Internet.

如何使Windows Phone模拟器与我的Internet连接类型一起工作?


Problem:

When I start Windows Phone 8 emulator it launches a virtual machine in Hyper-V. After a few minutes Windows Phone OS gets loaded (I can connect to it through Hyper-V manager (it's inconvenient to play with WP this way though)), but the emulator keeps reporting: "The Windows Phone OS is starting...". 

After some time (apparently timeout happens) deployment from Visual Studio fails with error: "App deployment failed. Please try again."

How I got here?

Everything works fine when I use wifi connection and have a dynamic ip address. Emulator works properly and I have internet in Windows Phone OS.

But unfortunately most of the time I have to use Ethernet connection with a static IP address (which is assigned to me by internet provider based on my MAC address). And in this case there is no internet in Windows Phone emulator.
As far as I understand, virtual machine in Hyper-v connects to the network with a kind of it's own ethernet card(another MAC address) and have a different ip address. In that case it won't get any internet from my provider. 
And even if the emulator would have the same MAC and IP address it will create a mess for internet traffic.

So my laptop should be a router for WP emulator. That's why I make sharing of my primary internet (ICS)  with a Windows Phone emulator switch (vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)). In this case I do have have an internet on Windows Phone, but when I connect through Hyper-V manager only. In Emulator it doens't even show when the OS gets loaded.

After I stop sharing of the internet with Windows Phone emulator switch, the emulator itself is working perfectly.. but with no internet.

How to make windows phone emulator work with my type of internet connection?


推荐答案

仿真器需要DHCP,因为它会将自己配置为具有自己IP地址的网络上的单独设备.

The emulator requires DHCP because it configures itself as a separate device on the network with its own IP address.

仿真器的系统要求可以在以下链接中找到:

System requirements for Emulator can be found in the following link:

http://msdn.microsoft.com/zh-cn/library/windowsphone/develop/ff626524(v = vs.105).aspx

以下链接包含有关对模拟器进行故障排除的信息:

Following link has information regarding troubleshooting Emulator:

http://msdn.microsoft.com/zh-cn/library/windowsphone/develop/jj681694(v = vs.105).aspx

-Rashmi.


这篇关于Windows Phone 8模拟器未显示其操作系统的实际状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆