我重置了我的密钥库密码 [英] I reset my Keystore password

查看:34
本文介绍了我重置了我的密钥库密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的发行版唱我的 apk,我忘记了密钥库密码,所以我点击了重置.然后我得到了这个错误.

I was in the in the process of singing my apk for my release and i forgot keystorepassword so i clicked reset. then I got this error.

错误:任务:app:packageRelease"的执行失败.

Error:Execution failed for task ':app:packageRelease'.

com.android.ide.common.signing.KeytoolException:无法从存储C:\keystore\keystore.jks"读取密钥应用程序名称"密钥:密钥库被篡改,或密码不正确

com.android.ide.common.signing.KeytoolException: Failed to read key "app name" key from store "C:\keystore\keystore.jks": Keystore was tampered with, or password was incorrect

解决此问题的最佳方法是什么?

What is my best way to fix this?

推荐答案

如果您忘记了密码,则无法解决此问题.如果您的应用程序未发布到 Playstore,您可以自由地将登录证书更改为新的.否则您将无法在 Playstore 更新您的应用程序,您必须取消发布您当前的应用程序,更改包名称并使用不同的密钥和包发布新的应用程序.因此,请始终尝试备份您的证书文件和密码.

If you forgot your password, there is no way to fix this. If your application is not published to the playstore, you are free to change the sign-in cert to a new one. Otherwise you will not be able to update your app at playstore, you have to unpublish your current app, change the package name and publish a new one with a different key and package. So always try keep a backup of your cert file and password.

这篇关于我重置了我的密钥库密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆