登录

去注册 忘记密码?

登录

注册

去登录

  • 扫码关注公众号
  • 发送“我爱安卓
  • 即可获取验证码

注册

解锁回答区域

  • 扫码关注公众号
  • 发送“我爱安卓

若你登陆,将永久解锁;
若未登录,仅本机解锁。

解锁回答区域

获取注册验证码

  • 扫码关注公众号
  • 发送“我爱安卓
  • 即可获取验证码

反编译APK

venshine   2020-06-01 00:59   收藏

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.

  • jd-gui

jd-gui

  • jadx

jadx

  • classyshark

classyshark

  • bytecode-viewer

bytecode-viewer

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

项目地址:https://github.com/venshine/decompile-apk