Total Pageviews

Saturday 29 March 2014

Decompile APK(Android Application Package) File

Things Required
1.Dex2jar
2.java decompiler(jd-gui)

Follow the below steps to do so_

•Rename your APK file(e.g., rename your APK file to .zip Ex- test.apk -> test.zip) & extract resultant zip file.
•Copy your .dex file in to dex2jar folder.
•Run setclasspath.bat.
•This should be run because this data is used in the next step.
•Go to Windows Command prompt, change the folder path to the path of your dex2jar folder and run the command as follows: d2j-dex2jar.bat classes.dex
•Enjoy!!
•Your jar file will be ready in the same folder with name classes_dex2jar.jar.
•Then use the java decompiler jd-gui to decompile the executable.

No comments:

Post a Comment