OpenHarmony hap包安装失败的原因及其解决方法解析 - HarmonyOS技术社区 - 电子技术论坛 - 广受欢迎的专业电子论坛
分享 收藏 返回

ss 关注 私信
[文章]

OpenHarmony hap包安装失败的原因及其解决方法解析

OpenHarmony hap包安装:error: failed to install bundle. error: install update incompatible.

签名认证Openharmony原有的demo:jsDistributedMusicPlayer 编译的hap包。

安装失败,失败的报错:error: failed to install bundle. error: install update incompatible.



错误的原因是:Hi3516DV300的板子中已经有一个bundleName为com.ohos.distributedmusicplayer的hap应用,自己重编译的hap和系统自带的hap包bundleName一样,签名不一样,所以报如上错误。

将config.json中改名后,认证编译后,就可以安装成功了。





更多回帖

×
发帖