mihaip / dex-method-counts

Command-line tool to count per-package methods in Android .dex files
Apache License 2.0
2.6k stars 376 forks source link

Handle MultiDex APKs as a single package tree. #7

Closed eartle closed 9 years ago

eartle commented 9 years ago

If you've gone over the dex limit you can do a MultiDex build. You then get dex files in your APK such as classes.dex, classes2.dex, classes3.dex... I've made this read all files that match "classes.*.dex" in an APK. This means, if you've gone over the limit, you can analyse your MultiDex APK with a single output to easily see how much you've gone over the limit and where.

mihaip commented 9 years ago

Thanks!