我可以在Google Play中使用已签名的apk替换未签名的apk

时间:2015-05-18 21:06:56

标签: android android-studio google-play apk

我在Google Play中有一个应用程序,我在Eclipse中构建。 最近我将它导入Android Studio,做了一些更改,我想替换市场上的apk文件。 在Eclipse中,我使用了unsigned apk,现在它已签名了。 你知道它是否会给用户带来麻烦吗?

编辑: 当我尝试上传时,这就是我得到的:

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: 07:F5:24:81:59:0B:28:48:A6:48:FC:E3:9B:D5:3D:06 ]
and the certificate(s) used to sign the APK you uploaded have fingerprint(s):
[ SHA1: 79:B7:5D:76:80:32:22:E4:1B:33:5A:69:69:24:79:BA ]

有谁知道我该怎么做?

1 个答案:

答案 0 :(得分:3)

您上传的第一个APK很可能是使用调试证书签名而不是您的发布证书。由于安全问题,Google Play不允许您使用与最初使用的证书不同的证书。证书背后的整个想法是防止任何人上传您声称它的潜在恶意代码,从而使用户更安全一点。因此,更改证书的唯一方法是取消发布旧应用,在控制台中创建一个新应用并重新上传。在重新上传之前,您还必须将应用的包名更改为其他名称。