• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1dexdeps -- DEX external dependency dump
2
3
4This tool dumps a list of fields and methods that a DEX file uses but does
5not define.  When combined with a list of public APIs, it can be used to
6determine whether an APK is accessing fields and calling methods that it
7shouldn't be.  It may also be useful in determining whether an application
8requires a certain minimum API level to execute.
9
10Basic usage:
11
12  dexdeps [options] <file.{dex,apk,jar}> ...
13
14For zip archives (including .jar and .apk), dexdeps will look for a
15"classes.dex" entry.
16
17Supported options are:
18
19  --format={brief,xml}
20
21    Specifies the output format.
22
23    "brief" produces one line of output for each field and method.  Field
24    and argument types are shown as descriptor strings.
25
26    "xml" produces a larger output file, readable with an XML browser.  Types
27    are shown in a more human-readable form (e.g. "[I" becomes "int[]").
28
29  --just-classes
30
31    Indicates that output should only include a list of classes, as
32    opposed to also listing fields and methods.
33