failed to install bundle. error: install parse profile missing prop.

OpenHarmony3.2beta3 源码编译的hap包,安装报错failed to install bundle. error: install parse profile missing prop.

  1. p7b生成命令,在//developtools/hapsigner/dist 中执行下面命令生成的。

java -jar hap-sign-tool.jar sign-profile -keyAlias "OpenHarmony Application Profile Release" -signAlg "SHA256withECDSA" -mode "localSign" -profileCertFile "OpenHarmonyProfileRelease.pem" -inFile "UnsgnedReleasedProfileTemplate-my.json" -keystoreFile "OpenHarmony.p12" -outFile "result\app1-profile.p7b" -keyPwd "123456" -keystorePwd "123456"

failed to install bundle. error: install parse profile missing prop.-鸿蒙开发者社区

  1. 在源码中配置后,编译源码生成: myapplication.hap包,使用hdc_std安装报如下错误

failed to install bundle. error: install parse profile missing prop.-鸿蒙开发者社区

hilog日志:[ERR_INSTALL_PARSE_PROFILE_MISSING_PROP]

failed to install bundle. error: install parse profile missing prop.-鸿蒙开发者社区

同样的app1-profile.p7b文件,在deveco studio中签名编译的hap包是能安装成功的。

源码编译的hap安装报错,

源码permission_manager编译permission_manager.hap包却能正确安装。

经过和permission_manager对比,还是不知道什么原因,有人知道不?

openharmony
源码编译hap包
2022-10-13 09:30:52
浏览
1
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
相关问题
Failure[INSTALL_PARSE_FAILED_USESDK_ERROR]
8637浏览 • 5回复 已解决
Failure[INSTALL_FAILED_BUNDLE_INFO_NOT_CONFIG]
2789浏览 • 1回复 待解决
Error: Install eTS 3.1.0.0 failed.
1969浏览 • 1回复 待解决
ERROR_GET_BUNDLE_INSTALLER_FAILED
1307浏览 • 1回复 待解决