我接管了现有的Android应用以及密钥库文件以对其进行签名,但签名和上传应用会导致以下错误:
Upload failed
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: XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX,
SHA1: YY:YY:YY:YY:YY:YY:YY:YY:YY:YY:YY:YY:YY:YY:YY:YY:YY:YY:YY:YY ]
and the certificate(s) used to sign the APK you uploaded have fingerprint(s):
SHA1: XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX
有一件事很奇怪,我用来签署.apk文件(XX)的证书指纹列在现有的APK指纹中。现在我想知道,我是否需要使用第二个证书对APK文件进行签名才能在playstore上更新它?是原来的版本(目前在Playstore中的那个)签了两次?有没有办法只使用两个证书中的一个用于将来的更新? 欢迎任何澄清。 提前谢谢。
答案 0 :(得分:0)
请下载KEYSTORE EXPLORER并打开你的.jks文件,在那里你可以看到哪个证书包含你在Play商店中用来签署apk的签名。