更改签名密钥,保留包名 [英] Change signing key, keep packagename

查看:22
本文介绍了更改签名密钥,保留包名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎找不到答案:是否可以更改签名密钥但仍使用相同的包名?这样购买我的应用的人就可以使用新密钥从同一个 Google Play 页面重新下载"该应用.

I cant seem to find the answer to this: Is it possible to change signing-key but still use the same packagename? So that the people who bought my app can "re-download" the app with the new key, from the same Google Play page.

这样做的背景是我想将我的签名密钥延长到我现在设定的 25 年以上.也许这已经足够了,但我不想被置于密钥过期的情况.

The background to this is that I want to extend my signing key to more then 25 years I have set now. Maybe this is enough but I dont want to be put in a situation where the key expires.

如果无法做到这一点,我可以删除我当前的 Google Play 应用并创建一个具有相同包名和另一个密钥的新应用吗?

If this is not possible, could I remove my current Google Play app and create a new one with the same packagename and another key?

推荐答案

没有.如果您的 APK 使用签名进行了签名,并且包含安装在设备上的包名称,则任何后续具有相同包名称的 apk 都必须具有相同的签名.

No. If you have an APK signed with a signature and containing a package name installed on a device, any subsequent apk with the same package name must have the same signature.

这篇关于更改签名密钥,保留包名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆