Android - Change package name of live application

孤街浪徒 提交于 2019-12-22 10:46:14

问题


I have one application which is already live on google play named 'Moodlytics'. https://play.google.com/store/apps/details?id=AnantApps.Moodlytics&hl=en Currently its package name is 'AnantApps.Moodlytics'. (I know its not good practice to use capital letters for package name)

Now I am going to give an update to my application.

So my question is : Can I use 'anantApps.moodlytics' (all with small letters) as package name instead of the original one? Will current live application will be affected by this or not?


回答1:


No you can't, look here: http://android-developers.blogspot.nl/2011/06/things-that-cannot-change.html Because the package name is an unique name of you package and android cannot determine if it belongs to your older package name. And so it treats it like if it were another app.




回答2:


Unfortunately, you cannot "update" your application with a different package name. The package name of an application is case sensitive. Once it's published, you can't do anything about it.

See : http://android-developers.blogspot.fr/2011/06/things-that-cannot-change.html



来源:https://stackoverflow.com/questions/19496691/android-change-package-name-of-live-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!