Monday, March 25, 2013

Android gets source code from APK file



Android gets source code from APK file.
Below the post for how to get source code from APK file.
STEP 1
Get  your apk file
.apk  to .zip or rar rename it. Ex .sample.apk  to  sample.zip
*Then extract the file.
In That extracted file you can able to see Manifest file ,res folder and  classes.dex





STEP 2
Then download the following file
Download the file and extract it.


After downloading the file Extract it.
STEP3
Copy the classes.dex file and paste it inside  dex2jar-0.0.9.13 folder



STEP 4


Then open COMMAND PROMPT enter following the comment
Your file path of(dex2jar-0.0.9.13 folder)/dex2jar classes.dex
Then enter



Then one more jar file generated in your dex2jar-0.0.9.13 folder
 

STEP 5

Then Download following file Java Decompiler from this link
Extract the file and then open and execute files



STEP 6

Then open  your generated file (classes_dex2jar.jar) from that JAVA Decompiler.
There you can able to see your all source file

STEP 7.

Save all source file
GOTO -> File-> save all source file



STEP 8


Then extract the saved file and enjoy with codes.


HAVE A NICE DAY!

8 comments:

  1. What's up mates, pleasant article and pleasant arguments commented at this place, I am actually enjoying by these. Full Posting

    ReplyDelete
  2. The Lieutenant swоге than in memory of the blended cоnѕume, it ωould
    withοut еnԁ be recognised іn the аrmу аs a 'cock's
    tail'. On the similar accord newspapers have been obviously not about the usual existence. The landfill extended the community so it can be put to use to assemble on.

    Here is my web blog old stone oven

    ReplyDelete
  3. but i'm getting classes.dex file y?

    ReplyDelete
  4. dex2jar is not recognize as internal or external command.....how i'll resolve it

    ReplyDelete
  5. 'java' is not recognized as an internal or external command,
    operable program or batch file.
    how i resolve this?

    ReplyDelete
  6. anna nu kev keka aslu..

    ReplyDelete
  7. Online tool available see
    www.decompileandroid.com

    ReplyDelete

Check out this may be help you

Related Posts Plugin for WordPress, Blogger...