3 UserGuide
Bob Pan edited this page 2014-11-03 17:52:02 +08:00
  1. Install JDK7

     // For Ubuntu 
     sudo apt-get install openjdk-7-jre 
    
  2. Download dex2jar from https://sourceforge.net/projects/dex2jar/files/

  • Extract dex2jar-version.zip to a folder. for example /home/panxiaobo/, _C:_

      // For Linux
      unzip -x dex2jar-version.zip -d /home/panxiaobo
    
  1. use dex2jar to generate .jar file. dex2jar will generate a file named someApk-dex2jar.jar in the working folder.

     // For Linux, Mac OSX, Cygwin
     sh /home/panxiaobo/dex2jar-version/d2j-dex2jar.sh /home/panxiaobo/someApk.apk
     // For Windows
     C:\dex2jar-version\d2j-dex2jar.bat someApk.apk
    
  2. use a decompiler to view the source.

  3. that's it