Decompile a Dex file into a specific directory

jadx

  • Dex to Java decompiler.
    Produces Java source code from Android Dex and APK files.
    More information: <https://github.com/skylot/jadx>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

jadx --output-dir {{path/to/directory}} {{path/to/file}}

click the source code to copy install jadx on any operating system with command-not-found.com