Android市场:更改应用程序的包 [英] Android Marketplace: Changing application's package

查看:145
本文介绍了Android市场:更改应用程序的包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何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.

这篇关于Android市场:更改应用程序的包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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