Cannot Deploy Universal App on Microsoft Lumia 950 XL (Visual Studio Community 2015)

Deadly 提交于 2020-01-03 03:51:07

问题


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

DEP0001 : Unexpected Error: DEP0001 : Unexpected Error: -1988946667

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

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.

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?

Thanks in advance.


回答1:


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).

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

Try a deploy from VS again (for ARM).

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

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.



来源:https://stackoverflow.com/questions/36751305/cannot-deploy-universal-app-on-microsoft-lumia-950-xl-visual-studio-community-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!