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

。_饼干妹妹 提交于 2019-11-27 09:04:32

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.

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.

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.

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