HarmonyOS 鸿蒙Next安装失败报错该怎么解决

HarmonyOS 鸿蒙Next安装失败报错该怎么解决

【设备信息】Mate60

【API版本】Api12

【DevEco Studio版本】5.0.5.300

【问题描述】
```javascript
ohpm ERROR: missing: utdid_sdk@oh_modules.ohpm@_alipay+@15.8.26oh_modules@_alipay\lib\utdid_sdk-1.0.9.har, required by @_alipay/@15.8.26
ohpm ERROR: missing: blueshieldsdk@oh_modules.ohpm@_alipay+@15.8.26oh_modules@_alipay\lib\blueshieldsdk-1.0.0.har, required by @_alipay/@15.8.26
ohpm ERROR: Found exception: Error: ENOENT: no such file or directory, stat '\oh_modules\.ohpm@_alipay+@15.8.25oh_modules@_alipay\lib\utdid_sdk-1.0.9.har', reached retry limit or non retryable error encountered.
ohpm ERROR: Found exception: Error: ENOENT: no such file or directory, stat '\oh_modules\.ohpm@_alipay+@15.8.25oh_modules@_alipay\lib\blueshieldsdk-1.0.0.har', reached retry limit or non retryable error encountered.
ohpm ERROR: ERUNNING execute tasks failed, Error: ENOENT: no such file or directory, stat '\oh_modules\.ohpm@_alipay+@15.8.25oh_modules@_alipay\lib\utdid_sdk-1.0.9.har',Error: ENOENT: no such file or directory, stat '\oh_modules\.ohpm@_alipay+@15.8.25oh_modules@_alipay\lib\blueshieldsdk-1.0.0.har'
ohpm ERROR: Install failed, detail: Error: ENOENT: no such file or directory, stat '\oh_modules\.ohpm@_alipay+@15.8.25oh_modules@_alipay\lib\utdid_sdk-1.0.9.har',Error: ENOENT: no such file or directory, stat '\oh_modules\.ohpm@_alipay+@15.8.25oh_modules@_alipay\lib\blueshieldsdk-1.0.0.har'

更多关于HarmonyOS 鸿蒙Next安装失败报错该怎么解决的实战教程也可以访问 https://www.itying.com/category-93-b0.html

3 回复

试试清理ide缓存在左上角:file-Invalidate caches,勾选三个选项后点击清理并重启ide

更多关于HarmonyOS 鸿蒙Next安装失败报错该怎么解决的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html


您好,麻烦清理ide缓存在左上角:file-Invalidate caches,勾选三个选项后点击清理并重启ide。

***

- 以上是初步分析结论,如有疑问可以展开回复,看到后会继续协助定位阻碍点。
- 开源网站上收录了UI、系统接口、Web、创新特性等场景化鸿蒙示例DEMO,开发中可以参考:[https://gitee.com/scenario-samples/demo-index](https://gitee.com/scenario-samples/demo-index)

HarmonyOS鸿蒙Next安装失败报错可能涉及多个方面。首先,确保设备符合鸿蒙Next的最低系统要求,包括硬件配置和操作系统版本。其次,检查下载的安装包是否完整,建议重新下载官方提供的安装包。再次,确保设备存储空间充足,至少预留安装包大小两倍的空间。此外,关闭设备上的安全软件或防火墙,这些可能阻止安装过程。如果设备已root或解锁bootloader,恢复原始状态后再尝试安装。最后,查看具体的报错代码或信息,根据官方文档或社区论坛查找对应解决方案。

回到顶部