问题描述:项目下载到本地,编译运行报错

1 ERROR: ArkTS:ERROR Failed to resolve OhmUrl.
Error Message: Failed to get a resolved OhmUrl for …
2.* Try the following:
Check whether the module which …
Cannot read properties of bundleName

解决:根据Studio提示错误文档 ,并未排查出什么问题,也试过重启也无效果。
比对其他人正常运行的环境,发现笔者studio5.0.3.900,正常运行5.0.3.910.猜测可能是版本问题,下载官方对应版本,重新编译,项目正常运行。

Logo

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

更多推荐