邀请测试安装失败HarmonyOS 鸿蒙Next:install failed:BusinessError 17700015: Failed to install haps since the configuration information of multi haps
邀请测试安装失败HarmonyOS 鸿蒙Next:install failed:BusinessError 17700015: Failed to install haps since the configuration information of multi haps 报错误码:17700015
前置条件:打发布证书的release app包上传到agc,审核通过后,访问邀请链接,鸿蒙next手机去安装提示安装失败,请重试,在devecostudio抓日志提示错误码17700015
但是我这边装企业包(inHouse)都可以,我的工程是纯flutter代码,不存在多hap的情况,想问问大佬们有遇到这个问题吗?看文档不是很理解,有没有大佬弄过?
app的包结构如下:
{
"summary": {
"app": {
"bundleName": "包名省略",
"bundleType": "app",
"version": {
"code": 1290001,
"name": "1.29.0001"
}
},
"modules": [
{
"mainAbility": "EntryAbility",
"deviceType": [
"phone"
],
"abilities": [
{
"name": "EntryAbility",
"label": "$string:EntryAbility_label"
}
],
"distro": {
"moduleType": "entry",
"installationFree": false,
"deliveryWithInstall": true,
"moduleName": "entry"
},
"apiVersion": {
"compatible": 12,
"releaseType": "Release",
"target": 13
}
}
]
},
"packages": [
{
"deviceType": [
"phone"
],
"moduleType": "entry",
"deliveryWithInstall": true,
"name": "entry-default"
}
]
}
更多关于邀请测试安装失败HarmonyOS 鸿蒙Next:install failed:BusinessError 17700015: Failed to install haps since the configuration information of multi haps的实战教程也可以访问 https://www.itying.com/category-93-b0.html
更多关于邀请测试安装失败HarmonyOS 鸿蒙Next:install failed:BusinessError 17700015: Failed to install haps since the configuration information of multi haps的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html
在HarmonyOS Next系统中,遇到安装失败的错误码17700015,通常是由于多个HAP(Harmony Ability Package)的配置信息不一致或冲突导致的。HAP是HarmonyOS的应用包,包含应用的代码和资源。在多HAP场景下,每个HAP的配置信息(如包名、版本号、签名等)必须保持一致,否则系统无法正确安装。
具体原因可能包括:
- 包名不一致:多个HAP的包名不同,系统无法识别为同一个应用。
- 版本号冲突:多个HAP的版本号不匹配,导致安装失败。
- 签名不一致:多个HAP的签名信息不同,系统无法验证应用的完整性。
- 资源配置冲突:多个HAP的资源文件(如字符串、图片等)存在冲突,导致无法正确加载。
解决此问题需要检查并确保所有HAP的配置信息一致,包括包名、版本号、签名等,并确保资源文件没有冲突。