我接管了一个现有的 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 中的版本)是否已签名两次?有没有办法只使用这两个证书中的一个来进行未来的更新?欢迎任何澄清。提前致谢。