APK Dependency Graph is a plugin for Android Studio that allows display graph of dependencies.
- in Android Studio: go to
Settings → Plugins → Browse repositoriesand search forAPK Dependency Graph
or
- download it and install via
Preferences → Plugins → Install plugin from disk
- Go to
Settings → Instan Runin Android Studio and disableEnable Instant Run to hot swap code/resource changes on deploy - Build Apk with disabled Instant Run
- Click
Tools → APK Dependency Graph → Generate Dependency Graph - Select apk file from shown dialog
- Click
Tools → APK Dependency Graph → Set Package Filterenterpackage name(e.g. com.example.package) as a filter so you will avoid unnecessary dependencies in your graph.
- Go to
Tools → APK Dependency Graph → Show Generated Graphto see last generated dependencies graph of current project in browser. - Select
Tools → APK Dependency Graph → Disable Inner Classesto define if you want to skip inner classes on your graph or not.