我使用鸿蒙的DevEco-studio打包可以成功,但是在HBuilderX上面打包提示“由于未配置相关数字证书,打包未签名”,下面是“build-profile.json5”文件,请大佬帮忙看看
17:02:08.450 项目 GraceUI6 开始编译
17:02:09.690 正在编译中...
17:02:18.850 项目 GraceUI6 编译成功。
17:02:19.132 安装鸿蒙工程的依赖 ...
17:02:20.413 安装鸿蒙工程依赖成功
17:02:20.413 开始制作安装包 .app,请耐心等待 ..............
17:02:38.323 由于未配置相关数字证书,打包未签名,请参考 配置文档
17:02:38.323 安装包制作成功
17:02:39.479 生成的安装包 F:\LIXiSE_Project\GraceUI6\unpackage\release\com.i6yun.huawei\build\outputs\release\com.i6yun.huawei-release-unsigned.app
{
"app": {
"signingConfigs": [
{
"name": "release",
"type": "HarmonyOS",
"material": {
"certpath": "F:/HarmonyOS/key/Distribution/i6yunDistribution.cer",
"storePassword": "0000001A4A93E905582EE4C8005FDDB2F6F91C3853A95206409BEF78B7C392DA3C9830D14AB4B8A7FA44",
"keyAlias": "lixise",
"keyPassword": "0000001A04DD7CBE070520014B83875D2D5DB53F176FA7134EACF6652B92765A1338852CD8BFF70B5422",
"profile": "F:/HarmonyOS/key/Distribution/i6yun_DistributionRelease.p7b",
"signAlg": "SHA256withECDSA",
"storeFile": "F:/HarmonyOS/key/i6yunDistribution.p12"
}
},
{
"name": "default",
"type": "HarmonyOS",
"material": {
"storePassword": "0000001A5F6255D78B0A1CE12B0985C6303247B3A59BC8C5442625B0E11E467695BD137AB911AA3AD83C",
"certpath": "F:/HarmonyOS/key/DevelopmentDebug/i6yunDevelopment.cer",
"keyAlias": "lixise",
"keyPassword": "0000001A07AF49A6ECCDEFF12BD9D56B77EC6FE19ABD5FCE0E139EAC0264DFFC4CEFBEBBF39F0598078A",
"profile": "F:/HarmonyOS/key/DevelopmentDebug/i6yun_DevelopmentDebug.p7b",
"signAlg": "SHA256withECDSA",
"storeFile": "F:/HarmonyOS/key/i6yunDistribution.p12"
}
}
],
"products": [
{
"name": "default",
"signingConfig": "default",
"compatibleSdkVersion": "5.0.0(12)",
"runtimeOS": "HarmonyOS",
"buildOption": {
"strictMode": {
"caseSensitiveCheck": true,
"useNormalizedOHMUrl": true
}
}
},
{
"name": "release",
"signingConfig": "release",
"compatibleSdkVersion": "5.0.0(12)",
"runtimeOS": "HarmonyOS",
"buildOption": {
"strictMode": {
"caseSensitiveCheck": true,
"useNormalizedOHMUrl": true
}
}
}
],
"buildModeSet": [
{
"name": "debug"
},
{
"name": "release"
}
]
},
"modules": [
{
"name": "entry",
"srcPath": "./entry",
"targets": [
{
"name": "default",
"applyToProducts": [
"default",
"release"
]
}
]
}
]
}
0 个回复