Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shoyu666/bsdiffandroiddemo

bsdiff demo for android
https://github.com/shoyu666/bsdiffandroiddemo

Last synced: 25 days ago
JSON representation

bsdiff demo for android

Awesome Lists containing this project

README

        

# bsdiffAndroidDemo
bsdiff demo for android
# support android studio & ndk debug

bsdiff 4.3 android demo

old:老版本apk文件

patcher:新版本和老版本的diff(也就是增量包)

newFile:准备生成的新版本的存放路径

BsPatch.bspatch(old.getAbsolutePath(), patcher.getAbsolutePath(),newFile.getAbsolutePath());


不编译的可以使用已经编译好的so /alone_so_lib


patcher制作(mac):

1 控制台运行 brew install bsdiff 安装diff工具

2 bsdiff old.apk new.apk patcher(patcher就是要生成的增量包)


patcher制作(windows(32))
下载http://sites.inka.de/tesla/download/libapr_win9x.zip

由于友盟的自动更新要废弃了,所以准备基于bsdiff开发自动更新