Dex symbols are those with a section of:
.dex.method(Java methods).dex(All other forms of dex size. E.g. Class descriptors)
During builds:
- Java compile targets create a mapping between Java fully qualified names
(FQN) and source files.
- For
.javafiles the FQN of the public class is mapped to the file. - For
.srcjarfiles the FQN of the public class is mapped to the.srcjarfile path. - A complete per-apk class FQN to source mapping is stored in the
$output_dir/size-infodir.
- For
During supersize archive:
$ANDROID_SDK/cmdline-tools/apkanalyzer dex packagesis used to find the size and FQN of entries in across all dex files.- One symbol is created for each method and class entry in the output.
- Source paths are added to symbols using the mapping from
$output_dir/Foo.apk.jar.info