什么是Android应用程序更新问题和最佳做法?

时间:2021-11-15 20:04:55

I've published an Android applications on the Android market and now have an update to do.

我在Android市场上发布了一个Android应用程序,现在有更新要做。

I want to know if any of you have already done that, and what experience can you share about it :

我想知道你们中是否有人已经这样做了,你们可以分享一些经验:

  • How to manage version conflicts ?
  • 如何管理版本冲突?

  • What to do with databases ?
  • 如何处理数据库?

  • Can you make appear a message with "what's new" if it's an update, but nothing it's a new installation ?
  • 如果它是一个更新,你能看到一条带有“什么是新的”的消息,但没有什么是新的安装?

  • Should you backup old data before updating, and how ?
  • 您应该在更新之前备份旧数据吗?

  • Did you run into any trouble and how did you solve it ?
  • 你遇到了什么麻烦,你是怎么解决的?

  • Can update be partial (like, just a patch) ?
  • 可以更新部分(比如,只是一个补丁)?

Any advice is welcome.

欢迎任何建议。

1 个解决方案

#1


1  

I'll comment only on what I've experienced: Android market will not let you have package version conflicts. It examines the package and if the new version is less than or equal to the old version it will refuse the upload (it did with me).

我只评论我所经历的内容:Android市场不会让你有包版本冲突。它检查包,如果新版本小于或等于旧版本,它将拒绝上传(它与我一起)。

All updates appear as a patch to the user, although I believe they aredownloading a whole new package and not just the changed bytecode.

所有更新都显示为用户的补丁,但我相信他们正在下载一个全新的包,而不仅仅是更改的字节码。

#1


1  

I'll comment only on what I've experienced: Android market will not let you have package version conflicts. It examines the package and if the new version is less than or equal to the old version it will refuse the upload (it did with me).

我只评论我所经历的内容:Android市场不会让你有包版本冲突。它检查包,如果新版本小于或等于旧版本,它将拒绝上传(它与我一起)。

All updates appear as a patch to the user, although I believe they aredownloading a whole new package and not just the changed bytecode.

所有更新都显示为用户的补丁,但我相信他们正在下载一个全新的包,而不仅仅是更改的字节码。