How to Convert APK into Java code and XML files ???





There are tools  will need : apktool, dex2jar & jd-gui

You can download them from the following URLs:

Once you have these downloaded and installed, the next thing you will need is an APK. Now that you have everything you will need to do the following:


1) Extract the APK using APKTool. Run: apktool d <apk>
2) Extract the classes.dex file found in the APK file. Run: jar xvf <apk> classes.dex
3) Extract the classes from classes.dex file. Run: dex2jar classes.dex
4) Extract the classes.dex.dex2jar.jar. Run: jar xvf classes.dex.dex2jar.jar



You now have  data available to you. You can use JD-Gui to peruse the extracted classes and even save the source down as Java. All of the layouts, manifest, strings, images, and assets are also available to you in the appropriate folders.


3 comments
  1. Nice..
    Mujhe banana that project... an is method k use karunga

    ReplyDelete

  2. I have read your blog and I gathered some needful information from your blog. Keep update your blog. Awaiting for your next update.
    ionic training in chennai

    ReplyDelete