【问题标题】:Having keystore error while migrating project from appybuilder to android studio将项目从 appybuilder 迁移到 android studio 时出现密钥库错误
【发布时间】:2017-09-01 08:40:31
【问题描述】:

我从 appybuilder 制作了一个应用并在 google play 上发布了它,现在我想发布我使用 android studio 开发的更新。现在,我正在尝试使用 appybuilder 生成的密钥库对我的应用程序进行签名,但我收到了错误-

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

> com.android.ide.common.signing.KeytoolException: Failed to read key 
keystore from store "E:\New folder\Work\android (2).keystore": Keystore was 
tampered with, or password was incorrect. 

帮我解决这个错误。 我知道如果没有上一个版本的标志,我将无法发布它的更新。

当我尝试在没有应用签名的情况下上传 apk 时,它给了我错误

Upload failed
You uploaded a debuggable APK. For security reasons you need to disable 
debugging before it can be published in Google Play. Learn more about 
debuggable APKs.
You uploaded an APK that is signed with a different certificate to your 
previous APKs. You must use the same certificate. Your existing APKs are 
signed with the certificate(s) with fingerprint(s):
[ SHA1: ****( previous SHA1 key)**** ]
and the certificate(s) used to sign the APK you uploaded have 
fingerprint(s):
[ SHA1: 60:50:E5:C5:6F:DA:4C:13:4E:C4:99:65:E6:13:CA:08:37:BB:55:22 ]

有没有办法将指纹更改为所需的 sha1 指纹?

【问题讨论】:

  • 很可能您的密钥库文件不存在您的密钥别名。
  • 我该如何解决这个问题?
  • 缩短一些屏幕或登录问题以更好地理解
  • 我已经更新了我的问题
  • 你可以放你的 bulid.gradle 文件,我认为以前的密钥库是相同的,别名和密码匹配上传 apk 没有问题

标签: android-studio keystore app-inventor android-keystore android-app-signing


【解决方案1】:

我终于找到了解决方案。这是别名、密钥库密码和密钥密码的错误。当我将它们的默认值用作

key store password - android

alias - androidkey

key password - android

希望它会帮助某人。谢谢大家。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-03-14
    • 1970-01-01
    • 1970-01-01
    • 2015-06-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-01
    相关资源
    最近更新 更多