Cloude Lee
Cloude Lee

Reputation: 159

Is there any binary diff tool for android apk special for android apk file?

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?

Upvotes: 0

Views: 4084

Answers (4)

sisong
sisong

Reputation: 91

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

Upvotes: 0

thundertrick
thundertrick

Reputation: 1674

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.

Upvotes: 0

Peter Miller
Peter Miller

Reputation: 11

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

Upvotes: 1

ianhanniballake
ianhanniballake

Reputation: 199825

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.

Upvotes: 1

Related Questions