Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shoyu666/bsdiffandroiddemo
- Owner: shoyu666
- Created: 2016-07-12T02:27:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-21T03:12:32.000Z (over 8 years ago)
- Last Synced: 2023-11-08T08:57:26.990Z (almost 1 year ago)
- Language: C
- Size: 504 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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开发自动更新