Android Marketplace: Changing application's package

微笑、不失礼 提交于 2019-12-21 02:26:29

问题


Any android developers had any success changing the package name of your application (in the manifest) of an application already being distributed in the Market?

During my upgrade progress, I decided to change the package name slightly, which means that android identifies it as a new application. So, I suppose saved preferences will be lost, but I'm really hoping there are no other "surprises" for upgrading users.

Cheers!


回答1:


It's not that the saved preferences will be lost, it's just that Android will set it as a completely new and seperate program which cannot access the old application's preferences.

However, if you sign your applications with the same signature and and give them the same userId then they can share information and you could migrate the original application's information to the new one.



来源:https://stackoverflow.com/questions/1355217/android-marketplace-changing-applications-package

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