我将应用上传到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.
So my question is
what happened to running services when I update my app and how its diff from first install?
I want to know how can I force Google play store to delete and stop all old background services when updating?
解决方案
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: developer.android/guide/topics/data/data-storage.htmlHow to reset an application states when upgrading from the market
更多推荐
Android应用程序更新与删除和安装
发布评论