Android 增量更新
Android 增量更新
首先通过bsdiff 生成patch包
命令:bsdiff oldfile newfile patchfile
例如: bsdiff xx_v1.0.apk xx_v2.0.apk xx.patch
bspatch生成新的APK:
命令: bspatch oldfile newfile patchfile
例如: bsdiff xx_v1.0.apk xx_v2.0.apk xx.patch
无论是windows端还是Linux端都是执行的这两个命令
Diffuse is a tool for diffing APKs, AABs, AARs, and JARs in a way that aims to provide both a high-level view of what changes along with important detailed output.
https://github.com/JakeWharton/diffuse
本文标题:Android 增量更新
本文链接:https://www.haomeiwen.com/subject/mgognktx.html
网友评论