how to use DEXtoJar

前端 未结 13 2287
心在旅途
心在旅途 2020-12-22 17:25

I find the solution to decompile a file dex to jar from this link http://code.google.com/p/dex2jar/downloads/list but i don\'t understand how to use it.

相关标签:
13条回答
  • 2020-12-22 18:05

    The below url is doing same as above answers. Instead of downloading some jar files and doing much activities, you can try to decompile by:

    http://apk-deguard.com/

    0 讨论(0)
  • 2020-12-22 18:06

    If you're looking for the version for windows get it from source forge: https://sourceforge.net/projects/dex2jar/

    It has the d2j-dex2jar.bat file you need

    0 讨论(0)
  • 2020-12-22 18:07

    After you extract the classes.dex file, just drag and drop it to d2j-dex2jar

    0 讨论(0)
  • 2020-12-22 18:09
    1. Download Dex2jar and Extract it.
    2. Go to Download path ./d2j-dex2jar.sh /path-to-your/someApk.apk if .sh is not compilable, update the permission: chmod a+x d2j-dex2jar.sh.
    3. It will generate .jar file.
    4. Now use the jar with JD-GUI to decompile it
    0 讨论(0)
  • 2020-12-22 18:11
    1. Download dex2jar https://code.google.com/p/dex2jar/downloads/list
    2. Run dex2jar on apk d2j-dex2jar.sh someApk.apk
    3. open jar file in JD GUI http://jd.benow.ca/

    Follow this guide: https://code.google.com/p/dex2jar/wiki/UserGuide

    --Update 10/11/2016--

    Found this ClassyShark from Google's github pretty easy to view code from APK.

    https://github.com/google/android-classyshark

    // make sure that you downloaded release https://github.com/pxb1988/dex2jar/releases (for the ppl who coldnt find this link in /dex2jar/downloads/list

    0 讨论(0)
  • 2020-12-22 18:12

    Can be used as follow:

    1. Download dex2jar here and extract it.
    2. Download Java decompiler here (If you want to investigate .class file)
    3. Get you release .apk file and change its extension with .zip
    4. Extract .zip and find the classes.dex and classes2.dex
    5. Paste these files into dex2jar folder where .bat file exist of dex2jar (normally names as d2j-dex2jar)
    6. From dex2jar folder, open cmd [Shift+right click to see option to open cmd/power shell]
    7. Type the command in cmd: d2j-dex2jar release.apk
    8. You will get the .class file, open this file into Java Decompiler.
    0 讨论(0)
提交回复
热议问题