15:37:57.999 打包生成 .hap .................
15:38:20.848 > hvigor ERROR: Tools execution failed.
10-17 15:38:20 ERROR - hap-sign-tool: error: Init keystore failed: parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48)
- Try the following:
The key store file does not exist, please check the key store file path.
Incorrect keystore password, please input the correct plaintext password.
The keystore was created by a newer JDK version, please use the same JDK version
Detail: Please check the message from tools.
More info: https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/ide-hvigor-faqs-V5#section104639397814
15:38:20.848 打包失败
DevEco Studio 5.0.3.900
HBuilder X 4.29
c***@163.com (作者)
需要删掉需要重启电脑,好了,但是又报 运行所需的权限没有签名授权,我是通过 DevEco Studio 自动申请的证书(开启 Automatically generate signature 选项),看文档上说这种证书会自动支持 ACL 权限,但是实际上不行
2024-10-18 10:20
DCloud_云服务_MAQ
回复 c***@163.com: 自动申请证书的时候,你用的鸿蒙工程里面声明了哪些 ACL 权限,得到的证书里面就包含了对应的授权,如果没有声明 ACL 权限(比如新建的空白工程),证书里面就不会有授权。
2024-10-25 15:41
8***@qq.com
回复 DCloud_云服务_MAQ: 你说的环境变量path,是运行的客户端电脑里面的java路径吗?
2024-11-05 11:11