[英]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文件夾中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.