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.
10322浏览 • 1回复 待解决
安装HAP包报错:“failed to install bundle. install debug type not same”
3248浏览 • 1回复 待解决
OpenHarmony安装hap报错:error: install releaseType not same
4825浏览 • 1回复 待解决
报错error: install failed due to grant request permissions failed Error while Deploy Hap
2950浏览 • 0回复 待解决
HarmonyOS 编译项目报错:failed to install bundle.
1067浏览 • 1回复 待解决
安装HAP时提示“code:9568289 error: install failed due to grant request permissions failed”
3473浏览 • 1回复 待解决
错误码code:9568296 error: install failed due to error bundle type怎么处理?
1501浏览 • 0回复 待解决
HarmonyOS 安装hap的时候code:9568289 error: install failed due to grant request permissions failed
2193浏览 • 1回复 待解决
Error: Install eTS 3.1.0.0 failed.
4856浏览 • 1回复 待解决
hdc安装hap包到手机报错INSTALL_FAILED_PROVISIONING_BUNDLE_NAME_INVALID
10473浏览 • 1回复 待解决
error: install failed due to grant request permissions failed.
5568浏览 • 1回复 待解决
Failure[INSTALL_PARSE_FAILED_USESDK_ERROR]
11886浏览 • 5回复 已解决
openharmony 应用在harmonos真机上安装报错:Failure[INSTALL_FAILED_INTERNAL_ERROR]
15734浏览 • 2回复 待解决
安装HAP时提示“code:9568332 error: install sign info inconsistent”
2324浏览 • 2回复 待解决
Failure[INSTALL_FAILED_BUNDLE_INFO_NOT_CONFIG]
5517浏览 • 1回复 待解决
HarmonyOS 集成态hsp 报错:error: Failed to install the HAP or HSP because the dependent module does not exist
1544浏览 • 1回复 待解决
bm install装包提示code:9568306 error:install asanEnabled not same,如何处理
1195浏览 • 1回复 待解决
DevEco Studio调试运行报错INSTALL_PARSE_FAILED_USESDK_ERROR
10158浏览 • 1回复 待解决
已经解决,记录一下。给遇到同样问题的朋友做参考
666