DexDump


DexDump is a simple utility for enumerating the classes in an application (.apk), a framework (.jar) or an extracted dex file. You can process multiple files at the same time and have the results sorted and merged. This can be very handy to generate a single index when you are working on Android systems and can't remember if something was in framework.jar or services.jar

Examples

List the classes in a classes.dex that was already extracted as a tree:

C:\>dexdump /t classes.dex

List the classes in an apk or jar file as a tree:

C:\>dexdump /t app.apk

List the classes in multiple apks or jars as a single csv file. This is very handy to have an index to search by a simple name to tell you which file and which classesX.dex it is. Just open the csv file in a spreadsheet program (like LibreOffice Calc) and sort it as you will.

C:\>dexdump /t framework.jar services.jar settings.apk > classes.csv
You could also just do this on the command line:
C:\>dexdump /t framework.jar services.jar settings.apk | sort > classes.csv

Download dexdump.exe for Win32