How to develop windows 10 uwp on real device (mobile)?

前端 未结 3 1814
情书的邮戳
情书的邮戳 2020-12-01 18:51

I\'m trying to debbuging my app on real device (lumia 830 with windows 10 mobile 10.0.10581.0) Developer Mode is ON on both devices (mobile and PC), but when i\'m trying to

相关标签:
3条回答
  • 2020-12-01 19:05

    I faced the same problem yesterday and I solved applying this:

    • Create a Registry Key in: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SirepClient] (Probably you will need to create it)
    • Create a dword with name "DisableProtocol3" and value 00000001
    • Restart Visual Studio and try deploying the solution back again.

    IMPORTANT: It's a provisional solution meanwhile a patch is included in Windows 10 mobile. We will have to consider deleting this key after that.

    Solution found here.

    0 讨论(0)
  • 2020-12-01 19:09

    This problem may be caused by development environment, such as VS version, SDK version, etc. Please update your SDK version and phone OS version to the latest one, and I recommend you to use VS2017 to develop Windows 10 apps. I have met this problem when I used VS2015.

    0 讨论(0)
  • 2020-12-01 19:18

    I've faced similar problem few days ago. It turned out that Emulators and SDK version must match the Insider preview build on your device.

    Try to download both of them: emulators and SDK from here, in my case it worked like a charm.

    As for registering device for developement - it's not needed any more. Starting from Windows 10 all devices have 'developer unlock' in settings.

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