Android市场:更改应用程序的包应用程序、市场、Android

2023-09-05 23:53:46 作者:擦干眼泪笑着说没事

任何Android的开发者们已经开始在市场上销售的应用程序的任何成功更改应用程序的包名(在清单)?

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?

在我的升级过程,我决定稍微改变包名,这意味着机器人将其标识为新的应用程序。所以,我想节省preferences将会丢失,但我真的希望没有其他的意外升级用户。

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.

干杯!

推荐答案

这不是保存preferences会丢失,这只是Android将其设置为一个无法访问旧的应用程序的全新的,独立的程序preferences。

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.

不过,如果您具有相同签名签署您的应用程序,并给他们同样的用户id 那么他们可以共享信息,你可以迁移原有应用程序的信息传递给新的。

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.