如何在真实设备(移动设备)上开发 windows 10 uwp? [英] How to develop windows 10 uwp on real device (mobile)?

查看:29
本文介绍了如何在真实设备(移动设备)上开发 windows 10 uwp?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在真实设备上调试我的应用程序(lumia 830 with windows 10 mobile 10.0.10581.0)两种设备(移动设备和 PC)上的开发人员模式都处于开启状态,但是当我尝试在我的设备上模拟应用程序时出现错误(DEP6100 和 DEP6200).但是,我可以轻松地在模拟器和我的 PC 上进行模拟.无法理解是什么问题.

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 emulate app on my device I've got an error (DEP6100 and DEP6200). However i can easily emulate on emulators and my PC. Can't understand what's the problem.

有没有人能够在手机上成功部署 UWP 应用并调试它?如何注册您的手机以进行 Windows 10 移动版开发?

Has anyone been able to successfully deploy a UWP app on phone and debug it? How to register your phone for development for Windows 10 mobile?

推荐答案

我昨天遇到了同样的问题,我解决了这个问题:

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

  • 在以下位置创建注册表项:[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SirepClient](可能您需要创建它)
  • 创建一个名为 "DisableProtocol3" 和值 00000001
  • dword
  • 重新启动 Visual Studio 并尝试重新部署解决方案.
  • 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.

重要提示:这是一个临时解决方案,同时 Windows 10 移动版中包含一个补丁.之后我们将不得不考虑删除此密钥.

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.

找到解决方案 此处.

这篇关于如何在真实设备(移动设备)上开发 windows 10 uwp?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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