0

when trying to reduce the apk file size when updating, someone suggest to use bsdiff to make binary patch and merge the patch on client side. But I think this is a common binary diff tool and we can get smaller patch file like chrome do using Courgette, which working for exe file and get a more smaller patch file.

Is there any tool like Courgette? And if not, why don't Google develop some tool like it for us android developer?

Cloude Lee
  • 159
  • 3
  • 7

4 Answers4

1

Google Play already automatically does incremental updates as of August 2012, as announced at Google I/O 2012. No work is required on the developer's side.

ianhanniballake
  • 155,909
  • 19
  • 351
  • 362
  • 1
    Thx, @ianhanniballake we already know Google's smart update, but for some reason I want to update my app through my own server other than Google Play. So I wander how can I find some tool like Google Play doing? – Cloude Lee Apr 17 '14 at 06:51
1

DiffTool from https://play.google.com/store/apps/details?id=com.difftool can compare the content of APK files.

0

The following tools might help:

  1. pkgdiff: It should support APK comparing according to its git history, but it always returns UNCHANGE when comparing APKs in my case.

  2. dex2jar + pkgdiff: Work for code only. Using dex2jar to convert apk to jar, and pkgdiff to compare them.

thundertrick
  • 1,264
  • 1
  • 12
  • 21
0

google diff&patch tool for apk(zip) file: https://github.com/google/archive-patcher
a File-By-File diff , used for apk store;
another tool for self apk: https://github.com/sisong/ApkDiffPatch

sisong
  • 41
  • 1
  • 5