是否可以在Google Play上更改Android应用的软件包名称? [英] Is it possible to change the package name of an Android app on Google Play?

查看:607
本文介绍了是否可以在Google Play上更改Android应用的软件包名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

解决方案

从Dianne Hackborn开始:


无法更改的内容:

其中最明显且最明显的是清单包名称您在AndroidManifest.xml中为您的应用程序提供的唯一名称。该名称使用Java语言风格的命名约定,通过Internet域名所有权帮助避免名称冲突。例如,由于Google拥有域名google.com,因此我们所有应用的清单包名称应以com.google开头。开发人员必须遵守此惯例,以避免与其他开发人员发生冲突。 / p>

一旦您在其清单包名下发布应用程序,这是应用程序的唯一身份永远更多。切换到不同的名称会导致一个全新的应用程序,无法将其安装为现有应用程序的更新。


更多关于您无法更改的内容此处



关于您对Google Play网址的问题,此处定义的包与您的 AndroidManifest.xml 文件中的应用程序完全限定包相关联。更多关于Google Play的链接格式此处


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!

解决方案

From Dianne Hackborn:

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.

More on things you cannot change here

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应用的软件包名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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