Change signing key, keep packagename(更改签名密钥,保留包名)
问题描述
我似乎找不到答案:是否可以更改签名密钥但仍使用相同的包名?这样购买我的应用的人就可以使用新密钥从同一个 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.
这篇关于更改签名密钥,保留包名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:更改签名密钥,保留包名


基础教程推荐
- AdMob 广告未在模拟器中显示 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01