自从看了Google I/O 2012的keynote后就对其smart app updates感兴趣,之前没有头绪,今天升级JellyBean 4.1.1 OTA包的时候解包看了下其文件,发现N多的 XXX.apk.p 文件,查了下资料,是补丁文件,但是没法再将其解包出来,个人猜测smart app updates的原理就是与这个有关,不知道群里有没有研究这个的,求指点下如何分离和合并.apk.p文件?多谢。

1 meteor Jul 12, 2012 见Android Developer网站 https://developer.android.com/intl/zh-CN/about/versions/jelly-bean.html Smart App Updates Smart app updates is a new feature of Google Play that introduces a better way of delivering app updates to devices. When developers publish an update, Google Play now delivers only the bits that have changed to devices, rather than the entire APK. This makes the updates much lighter-weight in most cases, so they are faster to download, save the device’s battery, and conserve bandwidth usage on users’ mobile data plan. On average, a smart app update is about 1/3 the size of a full APK update. 其实只是Google Play上对APK更新的改动机制. 不推整个APK了.只更新你需要的apk模块. |
2 imstand Jul 12, 2012 很可能是对上传的apk做diff,可以是整个apk,也可能是打散的碎片。 |