android - 像百度手机助手对于app的升级,是如何做到能比实际软件大小小的?
大家讲道理
大家讲道理 2017-04-17 11:21:14
[Android讨论组]

据说是增量升级,但是还是不是很懂,不是前后两个都经过编译链接的产物,可以简单直接做加减法吗?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

全部回复(2)
PHP中文网

Google I/O 2012 时就已经宣布对 android2.3+ 的 Google Play 实行增量升级(Smart app updates)

Smart app updates: For Android 2.3, Gingerbread devices and up, when
there is a new version of an app in Google Play, only the parts of the
app that changed are downloaded to users’ devices. On average, a smart
app update is a third the size of a full apk update. This means your
users save bandwidth and battery and the best part? You don’t have to
do a thing. This is automatically enabled for all apps downloaded from
Google Play.1

实现来说是通过 bsdiff 来进行差分,详细的分析可以参见 这篇 blog.

ringa_lee

这是android4.1(好像是这个版本)的新特性,跟百度无关。具体你可以搜索下。

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号