-
-
Save korniltsev/8e3a34338aa9aa9a1dc25d074133bf39 to your computer and use it in GitHub Desktop.
Method count of multidex APK one-liner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apk=app.apk count=0 ; for dex in $(unzip -Z1 $apk classes*.dex); do count=$(($count + $(unzip -p $apk $dex | head -c 92 | tail -c 4 | hexdump -e '1/4 "%d\n"'))) ; done ; echo $count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment