我想知道更改 Google Play 上 Android 应用程序的实际包名称是否在技术上可行,而不是是否容易.我所说的包名称是指将显示在 URL 中的名称.请,谁能告诉我为什么这是/不可能?谢谢!
I would like to know whether it is technically possible, not whether it is easy or not, to change the actual package name of an Android app that is on Google Play. What I mean by package name is the name that will show up in the URL. Please, can anyone tell me why this is / is not possible? Thanks!
来自 Dianne Hackborn:
From Dianne Hackborn:
无法改变的事情:
其中最明显和最明显的是清单包名称",这是您在其 AndroidManifest.xml 中为应用程序指定的唯一名称.该名称使用 Java 语言风格的命名约定,互联网域所有权有助于避免名称冲突.例如,由于 Google 拥有google.com"域,因此我们所有应用程序的清单包名称都应以com.google"开头.为避免与其他开发人员发生冲突,开发人员必须遵守此约定.
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.
更多关于你不能改变的事情这里
More on things you cannot change here
关于您对来自 Google Play 的 URL 的问题,那里定义的包链接到您在 AndroidManifest.xml 文件中拥有的应用程序的完全限定包.更多关于 Google Play 链接格式的信息这里.
Regarding your question on the URL from Google Play, the package defined there is linked to the app's fully qualified package you have in your AndroidManifest.xml file. More on Google Play's link formats here.
这篇关于是否可以在 Google Play 上更改 Android 应用程序的包名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!