问题描述
我前两天公布我的应用程序的第一个版本的Play商店。我曾经与一个已知的别名和密码的密钥。
I published the first version of my app in Play Store two days ago. I used a key with a known alias and password.
于是,我改变了我在Eclipse应用程序的名字,只是换了一个字母。现在,我要导出版本2在Eclipse中,尝试用钥匙从第一次进入别名和passwort。我敢肯定,他们是正确的!
Then, I changed the name of my app in eclipse, just changed one letter. Now, I want to export version 2 in eclipse, try use the key from the first time and enter alias and passwort. I´m sure they are correct!!
在最后一步,Eclipse的告诉我无法恢复的关键。我尝试了一个新的,但随后Play商店显示错误。我该怎么办?
On the last step, Eclipse tells me "Cannot recover key". I tried it with a new one but then the Play Store shows an error. What can I do??
编辑:
就像你在第二幅图像的Abobe看到的,它必须是正确的密码,否则别名将不会在dropdownbox。另外,第二个密码是正确的,it'sa复制从第一。我只有一个别名!
Like you see in the second image abobe, it MUST be the right password because otherwise the alias would not be in the dropdownbox. Also the second password is correct, it´s a copy from the first. I only have one alias!
目标APK在过去的图片文件链接doesn't事吧?
Destination APK file-link in the last picture doesn´t matter right?
推荐答案
解决方法:密钥库密码和密钥密码应该是相同
更改使用密钥工具这两个密码
Changing both passwords using keytool
更改密钥库密码
keytool -storepasswd -new newpassword -keystore KeyStore.jks
更改别名密钥密码
keytool -keypasswd -alias MyKeyAlias -new newpassword -keystore KeyStore.jks
注:供应旧密码为密钥库和别名时,要求
Note: supply old password for both keystore and alias when asked for
(从http://karim-ouda.blogspot.com/2010/07/errors-solutions-5.html)
这篇关于无法恢复的关键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!