android - 是否可以在 Google Play 上更改 Android 应用程序的包名称?

标签 android package google-play

我想知道更改 Google Play 上 Android 应用的实际包名称是否在技术上可行,而不是是否容易。我所说的包名称是指将显示在 URL 中的名称。请,谁能告诉我为什么这是/不可能? 谢谢!

最佳答案

来自黛安·哈克伯恩:

Things That Cannot Change:

The most obvious and visible of these is the “manifest package name,” the unique name you give to your application in its AndroidManifest.xml. The name uses a Java-language-style naming convention, with Internet domain ownership helping to avoid name collisions. For example, since Google owns the domain “google.com”, the manifest package names of all of our applications should start with “com.google.” It’s important for developers to follow this convention in order to avoid conflicts with other developers.

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.

更多关于你不能改变的事情here

关于您对来自 Google Play 的 URL 的问题,那里定义的包链接到您在 AndroidManifest.xml 文件中拥有的应用程序的完全限定包。有关 Google Play 链接格式的更多信息 here .

关于android - 是否可以在 Google Play 上更改 Android 应用程序的包名称?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17582289/

相关文章:

linux - linux 包管理的一个问题

android - 无法在 Play 商店上发布更新的 Apk

android - 如何在使用不同的 Intent 启动 Activity 时防止其出现多个实例

java - 在命令提示符下运行的 java 程序中使用 package 关键字

python - python setup.py sdist bdist_wheel 的输出目录

android - 将应用上传到Google Play商店

java - 使用白色图像隐藏 Android Studio 中的所有 textView

java - 这种唯一ID的方法好不好?

android - 如何为信息 View 适配器调用项目点击监听器?

android - 在 ArrayAdapter 中获取 ListView 的宽度