DEP0001 : Unexpected Error: -1988945906 while deploying Windows UWP app to phone

后端 未结 13 1001
孤城傲影
孤城傲影 2020-12-02 22:47

Exact error:

Severity Code Description Project File Line Suppression State Error DEP0001 : Unexpected Error: -1988945906 TestApp

<
相关标签:
13条回答
  • 2020-12-02 23:40

    This kind of error happens very randomly and usually it means there was an issue during the deployment of the app. Things to check:

    • Developer mode is correctly enabled on phone
    • Uninstall the app from phone, rebuild solution and then try debug again
    • Check that the architecture for all projects is set accordingly (ARM for debugging on real device)
    • Sometimes the VS debugger hangs up, so closing VS and kill from Task Manager all VS processes that are eventually running and restart VS may also help.
    0 讨论(0)
  • 2020-12-02 23:44

    I've experienced the same problem after updating Visual Studio community to Update 2. Typing in CMD (under admin rights) the following command solved my issue:

    net start IpOverUsbSvc
    

    Thanks to Agrgg for a good tip ;)

    0 讨论(0)
  • 2020-12-02 23:45

    For the RPi, I have RPi3 with WIOT (build 14376) this error happens after failed deployment. Just restart VS and it'll deploy ok.

    0 讨论(0)
  • 2020-12-02 23:47

    I had the same problem.

    "net start IpOverUsbSvc" didn't worked for me (throws Access is denied Exception).

    I have followed following steps to fix.

    1. Start Run (Windows+R), Type: services.msc
    2. Start/Restart Windows phone IP over USB Transport.

    0 讨论(0)
  • 2020-12-02 23:47

    I had this issue as well. None of the answers helped me. IpOverUsbSvc was up and runing, phone reset, system reboot, nothing... The issue was fixed after a Visual Studio "repair": control panel -> Programs and features -> select VS2015 -> Repair

    0 讨论(0)
  • 2020-12-02 23:47

    So, I think I get the trick. After plugged in your Windows Mobile device, Windows App Deploy can see W10M device, but once your device goes to lock screen, WPD can not detect it anymore.

    You should to plug out and plugin again, with screen unlocked, to make it detectable. (I'm not a really English speaker).

    0 讨论(0)
提交回复
热议问题