繁体   English   中英

生成签名的APK Android Studio-密钥错误

[英]Generate signed apk android studio - Error with key

我正在尝试使用退出的密钥库生成签名的APK,但是我遇到以下问题

Error:org.gradle.tooling.BuildException: Failed to read key MedicalAssistanceKey from store "D:\MedicalAsError:com.android.ide.common.signing.KeytoolException: Failed to read key MedicalAssistanceKey from store

 "D:\MedicalAss_download\MyKey.jks": Cannot recover keys_download\MyKey.jks": Cannot recover key

Error:java.security.UnrecoverableKeyException: Cannot recover key

我确定密码和密钥正确

密钥库和密钥密码必须相同。 您可以使用以下命令来修改密码:

keytool -storepasswd -new [insert new keystore password] -keystore [insert keystore file name]

keytool -keypasswd -alias [insert alias] -new [insert new key password] -keystore [insert keystore file name]

或者,如果您喜欢GUI,请从http://keystore-explorer.org/下载

注意:keytool.exe存在于jdk / bin文件夹或jre / bin文件夹中。

如果密码中包含特殊字符,请使用此工具进行更改:

http://keystore-explorer.org/

特殊字符Ç

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM