首页 文章

如何从Play-store(网站等)以外的地方更新Google Play Signed Apk

提问于
浏览
1

我上传了一个用我的密钥库签名的apk到Google Play,意外启用 Google App Signing 选项 . 我在我的网站上传了同样的apk .

现在,由于 Google App Signing 选项,两个apks都有不同的签名

  • Google Play Apk:由Google签名

  • 网站Apk:由我的密钥签名

这是在更新时导致The apk must be signed with the same certificates as the previous version error .

Q) How can I make my Website-apk signed with same signature as Google-Play-signed-apk?

2 回答

  • 0

    Good question. Unfortunately there is no way to use the final key provided by Google App Signing and generate your own apk with these key, its use is only internal by google to publish in the store.

    重要提示:App Signing选择加入是永久性的Google Play App Signing是一个可选程序 . 如果您愿意,可以继续管理自己的密钥 . 在Google Play App Signing中注册您的应用后,不支持提款 . 为了保护应用程序签名密钥的安全性,我们无法从安全服务器中删除密钥 .

    以下是更多信息:https://support.google.com/googleplay/android-developer/answer/7384423

    I'd suggest you to simply extract the apk provided by the Play Store (有很多工具或应用可以实现这一点), and upload it to your website, or redirect to the Play Store page of your app.

    Regards.

  • 0

    以下是它的工作原理:

    你有X,你用来签署安装在用户设备上的APK的原始应用程序签名密钥 - 当你启用“应用程序签名”功能时,你就把这个给了谷歌 .

    你也有Y,上传密钥 - 你用它来签署你上传到Play商店的APK .

    Google Play会从您提供的APK中删除Y签名,并会使用X对APK进行签名并将其发送给用户 .

    对于要上传到您网站的APK,您需要使用X签名

    永远不要丢失X,将其存放在安全的地方(如Lastpass Secure说明) .

相关问题