简体   繁体   English

Windows Phone 8模拟器未启动。 错误代码0x80131500

[英]Windows Phone 8 Emulator not launching. Error code 0x80131500

I have problem with Visual Studio 2012 (OS: Windows 8.1 Preview) 我有Visual Studio 2012的问题(操作系统:Windows 8.1预览版)

  1. Create empty project (Windows Phone App) 创建空项目(Windows Phone App)
  2. Press F5 to start debugging. 按F5开始调试。

And I get 0x80131500 error code, with no detailed description. 我得到0x80131500错误代码,没有详细说明。 Only this: Deployment of application to device failed. 只有这样:将应用程序部署到设备失败。

Output: 输出:

1>------ Deploy started: Project: PhoneApp1, Configuration: Debug Any CPU ------
1>Deploying C:\Visual Studio 2012\Projects\PhoneApp1\PhoneApp1\Bin\Debu\PhoneApp2.xap...
1>Connecting to Emulator WVGA 512MB...
1>Deployment of application to device failed.
1>0x80131500

Has anyone encountered such a problem. 有谁遇到过这样的问题。 How it can be solved? 如何解决?

安装Visual Studio 2012 Update 3应该可以解决问题http://support.microsoft.com/kb/2864215

Windows 8.1 Preview does not support the Windows Phone 8 sdk to run on the Visual Studio 2012 . Windows 8.1 Preview不支持在Visual Studio 2012上运行Windows Phone 8 sdk You cannot run Emulator as well so better you should use a stable Windows 8 version for WP8 development. 您也无法运行Emulator,因此您应该使用稳定的Windows 8 version进行WP8开发。 This is the statement right from Microsoft Support 这是Microsoft Support的声明

After you upgrade your OS to Windows 8.1 Preview, you cannot run Windows Phone 8 Software Development Kit (SDK) emulator (XDE.exe) in Microsoft Visual Studio 2012 将操作系统升级到Windows 8.1 Preview后,无法在Microsoft Visual Studio 2012中运行Windows Phone 8软件开发工具包(SDK)模拟器(XDE.exe)

Reference here 参考这里

对于正在寻找在虚拟环境中工作时遇到相同问题的答案的人来说, 这里有一篇很好的文章

In my case, updating Windows Phone SDK and VS Express 2012 helped on Windows 8.1, but performance is poor. 就我而言,在Windows 8.1上更新Windows Phone SDK和VS Express 2012有所帮助,但性能很差。 If it's helpful try installing update to VS: 如果它有用,请尝试将更新安装到VS:

http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/07/02/running-the-windows-phone-emulator-on-windows-8-1-preview.aspx http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/07/02/running-the-windows-phone-emulator-on-windows-8-1-preview.aspx

And updating SDK: 并更新SDK:

http://dev.windowsphone.com/en-us/downloadsdk http://dev.windowsphone.com/en-us/downloadsdk

Setup: Visual Studio 2013 + Windows 8.1 (no betas) + this did work 设置: Visual Studio 2013 + Windows 8.1(没有测试版)+这确实有效
Resolution: Restart the Hyper-V service 解决方案:重新启动Hyper-V服务

I'm also receving this error while simulating the program. 我也在模拟程序时收到此错误。 i hav win 8 only and vs12 windows phone... 我只赢了8和vs12 windows手机......

but when i serach info. 但是当我搜索信息时 regarding this error i get i have not hyper-v windows feature. 关于这个错误,我得到了我没有hyper-v windows功能。 try this feature you have or not and enable it.. 试试你有没有这个功能并启用它..

Hyper-v Link : http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj863509(v=vs.105).aspx Hyper-v链接: http//msdn.microsoft.com/en-us/library/windowsphone/develop/jj863509 (v= vs.105).aspx

I found this is the key thing to check, as per (WP8) Emulator (XDE) Troubleshooting Tips on msdn: 根据msdn上的(WP8)仿真器(XDE)故障排除技巧,我发现这是检查的关键。

  1. Launch the “Network Connections” manager (from the home screen, type in “View Network Connections”, It will be listed under Settings) 启动“网络连接”管理器(在主屏幕中,键入“查看网络连接”,它将在“设置”下列出)

  2. Right click on the adapter named: “vEthernet (Internal Ethernet Port Windows Phone Emulator Internal Switch)” 右键单击名为“vEthernet(内部以太网端口Windows Phone仿真器内部交换机)”的适配器

  3. For that adapter, the only items that should be checked under “This connection uses the following items:” should be: 对于该适配器,应在“此连接使用以下项目:”下应检查的唯一项目应为:

    • Client for Microsoft Networks Microsoft网络客户端
    • QoS Packet Scheduler QoS数据包调度程序
    • File and Printer Sharing for Microsoft Networks Microsoft网络的文件和打印机共享
    • Microsoft LLDP Protocol Driver Microsoft LLDP协议驱动程序
    • Link-Layer Topology Discovery Mapper I/O Driver 链路层拓扑发现映射器I / O驱动程序
    • Link-Layer Topology Discovery Responder 链路层拓扑发现响应程序
    • Internet Protocol Version 6 (TCP/IPv6) Internet协议版本6(TCP / IPv6)
    • Internet Protocol Version 4 (TCP/IPv4) Internet协议版本4(TCP / IPv4)
  4. All other items should be unchecked. 应取消选中所有其他项目。

I installed Windows Phone 8 SDK. 我安装了Windows Phone 8 SDK。 Emulator didn't work because Hyper-V was not turned on. 仿真器无法正常工作,因为Hyper-V未打开。 I installed Hyper-V from Programs & Features and got the 0x80131500 error. 我从程序和功能安装Hyper-V并得到0x80131500错误。

Visual Studio 2012 Update 4 fixed the issue. Visual Studio 2012 Update 4修复了此问题。

I faced the same issue. 我遇到了同样的问题。 Later i was able to fix the issue by downloading and installing Visual Studio 2012 Update 4 from microsoft website. 后来我通过从microsoft网站下载并安装Visual Studio 2012 Update 4来解决这个问题。

Try out these steps if using VS 2012 with Windows 8.1 Pro: 如果在Windows 8.1 Pro中使用VS 2012,请尝试以下步骤:

  1. Uninstall Hyper-V 卸载Hyper-V
  2. Reboot 重启
  3. Install Hyper-V 安装Hyper-V
  4. Reboot 重启

This should help. 这应该有所帮助。

service Remote server of you is disable. service您的远程服务器是禁用的。 You could enable remote server! 你可以启用远程服务器! And don't can reinstall Hyper-V. 并且不能重新安装Hyper-V。 it's working for me! 它对我有用!

I solved with following repair sequence : 我解决了以下修复顺序:

Uninstall Hyper-V Reboot 卸载Hyper-V重新启动

dism.exe /Online /Cleanup-image /Scanhealth dism.exe / Online / Cleanup-image / Scanhealth
dism.exe /Online /Cleanup-image /Restorehealth dism.exe / Online / Cleanup-image / Restorehealth

Reboot Install Hyper-V 重新启动安装Hyper-V

RG RG

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM