MRTK (V2) 需要更新 Hololens? [英] MRTK (V2) Need to update Hololens?

查看:21
本文介绍了MRTK (V2) 需要更新 Hololens?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试检查新的 MRTK (V2),但我在构建时遇到了麻烦,首先是在 Unity 上,这让我下载了 Windows SDK 18362,现在我正在尝试在 Visual Studio 上继续构建2017 进行测试,但它给我带来了这个错误:

I'm trying to check out the new MRTK (V2) but I had been having troubles making the build, first on Unity which make me download the Windows SDK 18362, now I'm trying to continue the build on Visual Studio 2017 for testing but it brings me this error:

要部署此应用程序,您的部署目标应运行 Windows 通用运行时版本 10.0.18362.0 或更高版本.您当前正在运行版本 10.0.17134.80.请更新您的操作系统,或将您的部署目标更改为具有适当版本的设备.

To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.18362.0 or higher. You currently are running version 10.0.17134.80. Please update your OS, or change your deployment target to a device with the appropriate version.

我的 Windows 10 操作系统是 10.0.18632.30,但我的 HoloLens 是 10.0.17763.380,即使启用了 Windows Insider,它似乎也不会更新到更高版本.

My Windows 10 OS is 10.0.18632.30 but my HoloLens its on 10.0.17763.380 and its seems it won't update to a higher version even with Windows Insider enabled.

我希望在我的 HoloLens 1 上测试 MRTK(V2) 的预制演示.Visual Studio 上的构建不会因为版本不兼容的错误而通过.

I expect to test the premade demos of MRTK(V2) on my HoloLens 1. The build on Visual Studio wont pass from the error of incompatible version.

推荐答案

要修复此错误,您需要更新您的构建设置,以便最低 SDK 版本等于或低于您的 HoloLens 操作系统版本.我通常使用 10.0.10240.0.您仍然需要确保您的目标 SDK 版本是最新安装的".尝试执行以下步骤:

To fix this error you need to update your Build Settings so that the Minimum SDK version is at or lower than your HoloLens OS version. I usually use 10.0.10240.0. You still need to make sure that your target SDK version is "latest installed". Try doing the following steps:

  1. 删除生成的 UWP 项目.
  2. 在 Unity 中打开构建设置窗口.
  3. 确保最小 SDK 为 10.0.10240.0
  4. 确保 Target SDK 版本是最新安装的"
  5. 重新生成解决方案并部署到 HoloLens.

这篇关于MRTK (V2) 需要更新 Hololens?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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