簡體   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