gpt4 book ai didi

android - 我可以更改我在 Google Play 上发布的应用程序的包名吗

转载 作者:塔克拉玛干 更新时间:2023-11-01 21:24:38 28 4
gpt4 key购买 nike

我在 Google Play 商店中有一个 Android 应用程序。我正在开发一个新版本并想更改包名称。允许吗?

我的应用程序还没有大量用户。有没有办法替换它?比如,我可以停用现有的,并用新的取而代之吗?

最佳答案

根据 this blog post来自 Android 开发者博客,不,你不能更改包名称,除非你同意在 Play 商店中将其作为新应用发布:

Once you publish your application under its manifest package name, this is the unique identity of the application forever more. Switching to a different name results in an entirely new application, one that can’t be installed as an update to the existing application.

Android 手册也证实了这一点 here :

Caution: Once you publish your application, you cannot change the package name. The package name defines your application's identity, so if you change it, then it is considered to be a different application and users of the previous version cannot update to the new version.


如果您愿意将应用的新版本作为一个全新的实体发布,您当然可以这样做 - 只需从 Play 商店中删除旧应用(如果需要)并发布具有不同包名称的新应用。

关于android - 我可以更改我在 Google Play 上发布的应用程序的包名吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21936445/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com