Learn to Decompile Android Apk to Java Source Code

Embed Size (px)

Citation preview

  • 8/17/2019 Learn to Decompile Android Apk to Java Source Code

    1/4

    Learn to decompile Android apk to Java sourcecodeFinally we found a way to easily decompile Android apk to original java source code.Here are theinstructions to decompile android apk to java source code. This method is also called as Reversengineering.

    Requirements:

    clipse !"#"ownload and install eclipse !" from the link.http#$$www.eclipse.org$downloads$"e%&jar#"e%&jar converts the "' ("alvik %ecuta)le* files to the Java source. "ownload and e%tract de%&jarfrom the link.https#$$de%&jar.googlecode.com$files$de%&jar+,.,.-./.0ipJ"+12!#

    J"+12! is used to see the soure Java 3lass files from the converted jar files."ownload and e%tract J"+12! from the link.https#$$innla).googlecode.com$files$jd+gui+,.4.4.windows.0ip

    Decompiling Instructions:

    .5pen clipse !" and create a new Java project named Android&Java.

    &.3reate a new folder 6li)s7 in the root of your Android&Java project.

    http://www.eclipse.org/downloads/https://dex2jar.googlecode.com/files/dex2jar-0.0.9.15.ziphttps://innlab.googlecode.com/files/jd-gui-0.3.3.windows.ziphttps://dex2jar.googlecode.com/files/dex2jar-0.0.9.15.ziphttps://innlab.googlecode.com/files/jd-gui-0.3.3.windows.ziphttp://www.eclipse.org/downloads/

  • 8/17/2019 Learn to Decompile Android Apk to Java Source Code

    2/4

    4.8aste the jar files in the li) folder of e%tracted de%&jar to the newly created li)s folder of Android&Javaproject.de%&jar+,.,.-./$li)$(All jar files* 9(3opy*+: Android&Java$li)s$

    ;.Right click on the Android&Java project and select 8roperties. !n the Java

  • 8/17/2019 Learn to Decompile Android Apk to Java Source Code

    3/4

    /.>ow paste a apk file in your project which is to )e decompiled. Here ! am using Face)ook.apk?.>ow Right click on Android&Java project and select Run As+:Run [email protected] the ain class as com.googlecode.de%&jar.v4.ainand the arugment as Face)ook.apk

    Note#Bou should enter the name of the apk pasted in your project as argument.C.Then run the projectD you will find a converted jar file in the project folder. Here the jar file isFace)ookEde%&jar.jar 

  • 8/17/2019 Learn to Decompile Android Apk to Java Source Code

    4/4

    -.>ow open the jar file with J"+12!. Bou will see all the java class source files.

    ,.To decompile the %ml layout files use Apktool. Bou can download apktool from the link.

    https#$$code.google.com$p$android+apktool$downloads$listThanksD njoyFor any suggestions contact us.

    https://code.google.com/p/android-apktool/downloads/listhttps://code.google.com/p/android-apktool/downloads/list