to invoke it directly you need to have the full qualified path to PATH
and it is not. On my machine is located under build-tools/{version}
. E.g.
./build-tools/19.0.1/dexdump
./build-tools/19.1.0/dexdump
./build-tools/20.0.0/dexdump
./build-tools/21.0.2/dexdump
./build-tools/21.1.1/dexdump
./build-tools/21.1.2/dexdump
./build-tools/22.0.1/dexdump
./build-tools/23.0.1/dexdump
./build-tools/23.0.2/dexdump
what you can do is to cd
in your sdk
directory and look for it
find . -name dexdump
and then prepend the relative path to the command, like build-tools/19.0.1/dexdump
, or use the full qualified path like /path/to/sdk/build-tools/19.0.1/dexdump
or in your case
/path/to/sdk/build-tools/19.0.1/dexdump -d classes.dex | less