Hao Wu
Hao Wu

Reputation: 115

How To Use Dexdump

I want to use the command "dexdump" to see a .dex in the .txt,but in the command line, it says:"dexdump:command not found",why?And Is there another way to use the command "dexdump"?

Upvotes: 8

Views: 16130

Answers (2)

JeanCarlos Chavarria
JeanCarlos Chavarria

Reputation: 450

dexdump is installed as a build-tool, it is not available across env path by default (you will add it but it is linked to an specific version).

I use it with:

~/Library/Android/sdk/build-tools/28.0.3/dexdump classes2.dex

Upvotes: 1

Chris Stratton
Chris Stratton

Reputation: 40397

dexdump should be located in a version-specific folder under the build-tools/ folder of your Android sdk installation - at least if the latter is fully installed (ie, you can build and run apps).

If you run the program without arguments it will print out some usage help, but presumably you are asking this because you found a suggestion somewhere to use it which gives you some idea of the command line you would use.

Upvotes: 5

Related Questions