无法在 Microsoft Lumia 950 XL 上部署通用应用程序(Visual Studio Community 2015) [英] Cannot Deploy Universal App on Microsoft Lumia 950 XL (Visual Studio Community 2015)

查看:26
本文介绍了无法在 Microsoft Lumia 950 XL 上部署通用应用程序(Visual Studio Community 2015)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在 Microsoft Lumia 950 XL 上部署空白通用应用程序时出现此错误:

I am getting this error when trying to deploy a blank universal application on Microsoft Lumia 950 XL:

DEP0001:意外错误:DEP0001:意外错误:-1988946667

我使用的是 Visual Studio Community 2015,版本 14.0.25123.00 更新 2

I am using Visual Studio Community 2015, Version 14.0.25123.00 Update 2

我尝试了一种建议的解决方案,但没有奏效:

I have tried one proposed solution, but did not work:

net start IpOverUsbSvc

值得注意的是,我可以看到我的设备使用 WinAppDeployCmd 实用程序连接,我也可以手动安装我的应用程序:

It's worth to note that I can see my device connected using the WinAppDeployCmd utility, and I can install my application manually as well:

C:\Program Files (x86)\Windows Kits\10\bin\x86>WinAppDeployCmd.exe devices

Windows App Deployment Tool Version 10.0.0.0 Copyright (c) Microsoft Corporation. All rights reserved.

Discovering devices... IP Address      GUID                            Model/Name
127.0.0.1       004a0090-8800-1169-0000-000000000000    Lumia 950 XL Dual SIM (RM-1116) 
Done.

我在 2 台 Windows 7 机器上遇到了同样的问题.

I have the same exact issue on 2 Windows 7 machines.

有人可以帮忙解决这个问题吗,我已经卡了一个星期了?

Can anyone help please with this issue, I have been stuck for a week now?

提前致谢.

推荐答案

在手机上,开启开发者模式和设备发现.重启手机.在手机上安装最新的更新(有新的).

On the phone, turn on developer mode and device discovery. Reboot the phone. Install the latest update on the phone (there is a fresh one).

在电脑上:cmd WinAppDeployCmd.exe 设备拔掉手机和电脑之间的usb线cmd WinAppDeployCmd.exe 再次设备(它必须显示电话IP地址)重新插入 USB 数据线

On the PC: cmd WinAppDeployCmd.exe devices Unplug the usb cable between phone and pc cmd WinAppDeployCmd.exe devices again (it must show the phone ip address) Replug the usb cable

再次尝试从 VS 部署(针对 ARM).

Try a deploy from VS again (for ARM).

在诅咒了很多之后它对我有用.这些家伙在做 harakiri.

It worked for me after cursing a lot. These guys are doing harakiri.

否则,请按照此处的说明配对您的设备:https://msdn.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development#device-discovery-and-配对并从设备门户安装应用程序.叹.我也可以把时间浪费在可怕的现代"JavaScript 框架上.

Otherwise, pair your device as explained here: https://msdn.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development#device-discovery-and-pairing And install the app from the device portal. Sigh. I could as well waste my time with horrid dirty "modern" JavaScript frameworks.

这篇关于无法在 Microsoft Lumia 950 XL 上部署通用应用程序(Visual Studio Community 2015)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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