欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 健康 > 美食 > 鸿蒙报错Init keystore failed: keystore password was incorrect

鸿蒙报错Init keystore failed: keystore password was incorrect

2025/11/19 6:38:15 来源:https://blog.csdn.net/Blue_Bamboo/article/details/145134213  浏览:    关键词:鸿蒙报错Init keystore failed: keystore password was incorrect

报错如下:

> hvigor ERROR: Failed :entry:default@SignHap...

> hvigor ERROR: Tools execution failed.

01-13 16:35:55 ERROR - hap-sign-tool: error: Init keystore failed: keystore password was incorrect

* 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-0000001233028585-V5#section165158289282

> hvigor ERROR: BUILD FAILED in 9 s 648 ms

解决:密码错误,签名信息输入正确密码,本次输入正确密码解决。报错是因为密码多输入一个+,+号是禁止作为密码的字符。

如果密码正确,可以试试移除电脑系统变量中本地jdk路径,让deveco studio调用内置jdk。使用DevEco Studio生产密钥对时,DevEco Studio默认会调用软件内预置的JDK17,而用户使用本地的低版本JDK进行签名时则会报错。

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词