华为鸿蒙 DevEco Studio 6.0.0升级6.0.1(已解决,打包升级成功)
开发体验实在太差了,道阻且长,希望用点心做吧
报如下错:
> hvigor ERROR: 00302034 Script Error
Error Message: Failed to execute hook 'nodesEvaluated': Unable to find the following components:
arkui-x:21
Detail:
1.Go to DevEco Studio > Preferences > ArkUI-X, download the components, and sync the project. Open SDK Manager
2.Alternatively, modify the compileSdkVersion settings in the project-level build-profile.json5 file.
* Try the following:
> Check whether the content in hook 'nodesEvaluated' is correct.
> Set the stacktrace field in the hvigor-config.json5 file to true and check the stack information.
然后打开SDK Manager,没有6.0.1版本的API,搜了一轮没找到解决方案



2026-01-15更新
最新版本的Dev-Eco 版本可以在build-profile.json5里的targetSdkVersion指定6.0.1了,也可以build成功了,但是我在设置里的openHarmony/sdk还是6.0.0.47的,可以运行成功。