Mac环境下反编译安卓apk

decompile-apk

The decompile-apk tool consists of some scripts and different tools, it can provider auto decompile function for produce Java source code and resources from Android Apk files that displayed on GUI.

截屏2021-10-27 上午11.48.06.png

Tools

Platforms

  • Mac
  • Linux / Unix

Download

decompile-apk

Usage

# using integrated tools to decompile apk (recommend)
sh decompile-apk.sh *.apk

# using apktool/dex2jar/jd-gui to decompile apk
sh jdgui-apk.sh *.apk

# using jadx to decompile apk
sh jadx-apk.sh *.apk

# using classyshark to decompile apk
sh classyshark-apk.sh *.apk

# using bytecode-viewer to decompile apk
sh bytecode-viewer.sh *.apk

Summary

  • Apktool

    • advantage
      • complete resource files
      • source code in detail
    • disadvantage
      • using more complex, need for a combination of multiple tools
      • cannot better view the APK architecture logic
  • classyshark

    • advantage
      • easy to use, just a command line
      • source directory structure is clear, view the entire APK architecture graphically
    • disadvantage
      • source code too simple
      • cannot get resource files
  • jadx

    • advantage
      • convenient and quick
      • more perfect GUI interface, with more practical functions
      • decompile code readability is high
    • disadvantage
      • resource files partially missing
  • bytecode-viewer

    • advantage
      • support apk, dex, jar, and so on
      • better visual feedback
    • disadvantage
      • analyse file slower

Todo

  • more decompile tools
  • support decompile dex/aar/jar files

About

venshine.cn@gmail.com

License

Apache 2.0

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容