遇到的错误

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\
VC\v160\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows 
SDK version 10.0.14393.0 was not found. Install the required version of Windows SDK 
or change the SDK version in the project property pages or by right-clicking the solution 
and selecting "Retarget solution".

解决办法

1.打开Visual Studio Installer

在这里插入图片描述

2.修改界面中操作

在这里插入图片描述
按照上述的操作,就可以解决windows SDK找不到的问题。

Logo

讨论HarmonyOS开发技术,专注于API与组件、DevEco Studio、测试、元服务和应用上架分发等。

更多推荐