Skip to content

Instantly share code, notes, and snippets.

@ebridges
Created January 29, 2014 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebridges/8694125 to your computer and use it in GitHub Desktop.
Save ebridges/8694125 to your computer and use it in GitHub Desktop.
mkdir my-jars
cp **/*.jar my-jars
ANDROID_HOME=/opt/android-sdk
for file in my-jars/*.jar; do
echo $file;
${ANDROID_HOME}/build-tools/17.0.0/dx --dex --output=temp.dex $file 2> /dev/null
cat temp.dex| head -c 92 | tail -c 4 | hexdump -e '1/4 "%d\n"'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment