Android 应用程序更新与删除和安装 [英] Android application update vs remove and install

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

问题描述

我将我的应用程序上传到 Google Play 商店.在应用程序的第二个版本中,我修复了一些错误,并在市场上发布了更新.

I upload my application to google play store. In the second version of the application i fix some bugs, and release update on the market.

现在我看到我修复的那部分错误继续出现.有趣的是,当我删除应用程序并安装它(不更新它)或当我第一次在新设备上安装应用程序(来自市场)时,一切都很好.

Now I see that part of the bugs that i fix continue to appear. the interesting thing is that when I remove the application and instal it (not update it) or when i first install the application (from the market) on new device everything is good.

所以我的问题是

  1. 通常第一次安装或重新安装(删除然后安装)更新之间的区别是什么?
  2. 当我更新我的应用时,运行服务发生了什么变化?与第一次安装相比有何不同?

  1. generally what is the diff between first installation or reinstall (remove and then install) to update?
  2. what happened to running services when I update my app and how its diff from first install?

我想知道如何在更新时强制 Google Play 商店删除并停止所有旧的后台服务?

I want to know how can I force Google play store to delete and stop all old background services when updating?

推荐答案

当您将更新上传到 Google Play 商店时,它会自动存档以前的版本.用户下载新版本.

但是,在用户手机上,您可能会看到旧错误的影响,因为设备上留下了应用程序数据.在重新安装之前删除应用程序时,此数据将被删除.作为应用程序的作者,您可以管理应用程序数据,以便用户可以更新到您的应用程序的新版本,而不会让旧数据对更新后的应用程序造成问题.仔细查看您存储的数据方式和类型以及升级可能会影响哪些部分.

这些链接可能会有所帮助:http://developer.android.com/guide/topics/data/data-storage.html
从升级时如何重置应用程序状态市场

When you upload an update to Google Play store, it automatically archives the previous version. Users download the new version.

However, on the users phone, you may see the effect of old bugs, because of the app data left on the device. When the app is deleted before reinstalling, this data is removed. As the author of an app, you can manage the app data so that the user can update to a new version of your app, without having the old data create problems with the updated app. Take a closer look at how, and what kind of data you are storing and which parts may be affected by upgrading.

These links may help: http://developer.android.com/guide/topics/data/data-storage.html
How to reset an application states when upgrading from the market

这篇关于Android 应用程序更新与删除和安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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