本文介绍了互联网的 Windows Phone 8 模拟器部署问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用 Windows 8 手机模拟器时遇到问题.

Windows Phone 模拟器无法连接到 Windows Phone操作系统.手机未响应连接请求

这是我得到的错误.当模拟器以互联网启动但我的应用程序未部署时.分配的ip是192.168.137.1.以前它工作得很好,但突然间它开始出现这个问题.

以下是我已执行的故障排除列表:

  1. 169.254.xxx.xxx 地址通过 dhcp 设置为内部模拟器,应用程序部署成功,没有互联网连接

  2. 尝试过 MAC 地址欺骗,但当我使用这些设置时没有任何效果.

  3. 已更改共享模式下的外部虚拟交换机,这会使用 ip 192.168.137.1 启动互联网,但应用程序未部署在调试器中显示的错误是:
无效指针错误应用部署失败

  1. 尝试过网络桥接,但仍然无法正常工作.
  2. 手动创建所有设置,包括内部开关和外部开关.但是当它获得 192.168.137.1 ip 时面临同样的问题,然后互联网工作但应用程序没有部署.当它得到 169.254.xxx.xxx ip 系列应用程序部署但没有互联网连接.
  3. 没有打开防火墙或没有防病毒软件阻止任何连接.
  4. 用于网络连接的无线路由器,仍未成功
  5. 也尝试过干净安装所有东西,但仍然没有成功.

需要帮助解决这个问题,因为我一周以来一直在努力解决它.

解决方案

如果通过虚拟机在同一台 PC 上完成安装,则不会遇到此问题.我所做的是:

已分配 4gb ram、60gb hdd &虚拟机的 4 个内核.

1)我安装了一个默认设置的虚拟机.

2) 然后我停止了你的虚拟机(关闭 Windows 8,不要挂起它).

3) 在 VMWare 虚拟机列表中,右键单击 Windows 8 计算机,然后单击在 Finder 中显示".

4) 右击文件然后点击显示包内容",然后找到并用文本编辑器打开一个扩展名为 .vmx 的文件

5)直到文件末尾添加这两行(首先检查是否之前添加过):

hypervisor.cpuid.v0 = "假"

vhv.enable = "TRUE"

6) 在 VMWare 虚拟机列表中,右键单击 Windows 8,单击首选项",然后单击高级".选择Intel VT-X with EPT"作为首选虚拟化引擎".

然后当我在虚拟机中启动 windows 时,它似乎运行良好,无需任何其他设置更改.但是它仍然没有在物理机器上运行

如果有人遇到类似问题,我建议您使用虚拟机,直到此类问题得到解决.

I am facing an issue with windows 8 phone emulator.

This is the error that I get. When the emulator starts with internet but my application doesnot deploy. The ip that gets assigned is 192.168.137.1. Previously it worked fine,but then suddenly it started giving this issue.

Below is the list of troubleshooting that I have performed:

  1. 169.254.xxx.xxx address set to internal emulator via dhcp, Application deployed successfully with NO internet connection

  2. Have tried MAC address spoofing but nothing works when I use these settings.

  3. Have changed External Virtual Switch in Sharing mode this starts the internet with ip 192.168.137.1 but application doesnot deployIn debugger errors shown are:
  1. Have tried Network bridging but still it doesnt work.
  2. Created all settings manually including the internal switch and external swithch. But same issue faced when it gets 192.168.137.1 ip then internet works but application doesnt deploy.And when it gets 169.254.xxx.xxx ip series application deploys but no internet connection.
  3. No firewall are turned on or no antivirus is blocking any connections.
  4. Wireless router used for network connectivity, still not successfully
  5. Have also tried clean installation of everything but still no go.

Need help with this issue as I have been trying to get it resolved since a week.

解决方案

This issue is not faced if installation is done on the same pc through a virtual machine.What I did was :

6)At the VMWare Virtual Machine list, right click Windows 8, click "Preferences" then "Advanced". Choose "Intel VT-X with EPT" as "Preferred virtualization engine".

And then when I started the windows in the virtual machine it seems to be working fine without any additional setting change. However it is still not running on a physical machine

I recommend if someone is facing a similar issue then to use a Virtual Machine till this kind of issue is resolved.

这篇关于互联网的 Windows Phone 8 模拟器部署问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 15:54