生成签名 APK "Keystore was tampered with"

Generating a Signed APK "Keystore was tampered with"

我正在尝试将更新推送到我的应用程序,但是当我尝试构建 APK 时,我得到

Failed to read key from store: Keystore was tampered with, or password was incorrect

我确定密钥别名和密码是正确的。有没有办法解决这个问题而不必生成一个全新的密钥库?据我了解,如果我生成一个新的密钥库,我将无法将更新推送到已在 Playstore 中的应用程序

如果这是忘记您用于密钥库的别名的问题,您可以使用以下命令列出您的密钥库的别名:

keytool -v -list -keystore .keystore