OpenHarmony hap包安装:error: failed to install bundle. error: install update incompatible.
参考:https://harmonyos.51cto.com/posts/7716
签名认证Openharmony原有的demo:jsDistributedMusicPlayer 编译的hap包。
安装失败,失败的报错:error: failed to install bundle. error: install update incompatible.
错误的原因是:Hi3516DV300的板子中已经有一个bundleName为com.ohos.distributedmusicplayer的hap应用,自己重编译的hap和系统自带的hap包bundleName一样,签名不一样,所以报如上错误。
将config.json中改名后,认证编译后,就可以安装成功了。
hap
签名
安装
openharmony
赞
2
收藏 1
回答 2
待解决
相关问题
failed to install bundle. error: install parse profile missing prop.
9042浏览 • 1回复 待解决
安装HAP包报错:“failed to install bundle. install debug type not same”
2107浏览 • 1回复 待解决
OpenHarmony安装hap报错:error: install releaseType not same
3584浏览 • 1回复 待解决
安装HAP时提示“code:9568289 error: install failed due to grant request permissions failed”
1845浏览 • 1回复 待解决
HarmonyOS 安装hap的时候code:9568289 error: install failed due to grant request permissions failed
274浏览 • 1回复 待解决
报错error: install failed due to grant request permissions failed Error while Deploy Hap
2122浏览 • 0回复 待解决
error: install failed due to grant request permissions failed.
4131浏览 • 1回复 待解决
hdc安装hap包到手机报错INSTALL_FAILED_PROVISIONING_BUNDLE_NAME_INVALID
9433浏览 • 1回复 待解决
Error: Install eTS 3.1.0.0 failed.
3797浏览 • 1回复 待解决
openharmony 应用在harmonos真机上安装报错:Failure[INSTALL_FAILED_INTERNAL_ERROR]
14325浏览 • 2回复 待解决
Failure[INSTALL_PARSE_FAILED_USESDK_ERROR]
10694浏览 • 5回复 已解决
安装HAP时提示“code:9568332 error: install sign info inconsistent”
1132浏览 • 2回复 待解决
Failure[INSTALL_FAILED_BUNDLE_INFO_NOT_CONFIG]
4478浏览 • 1回复 待解决
DevEco Studio调试运行报错INSTALL_PARSE_FAILED_USESDK_ERROR
8714浏览 • 1回复 待解决
运行Native HAP,报错提示:install parse profile prop check error
2223浏览 • 1回复 待解决
“Failure[ERROR_GET_BUNDLE_INSTALLER_FAILED]”
334浏览 • 1回复 待解决
已经解决,记录一下。给遇到同样问题的朋友做参考
666