You are on page 1of 1

If not please go through it

Procedure for decoding .apk fles, step-by-step method:


Step 1:
Make a new folder and put .apk file in it (which you want to decode). Now rename the extension of this.apk file to .zip (eg.: rename from
filename.apk to filename.apk.zip) and save it.
If prolems in the converting into .zip please refers link
!fter getting .zip now you get classes.dex files" etc. !t this stage you are ale to see drawale ut not xml and #ava files" so continue. If you
don$t see the extensions go through check the configuration
Step 2:
Now extract this zip apk file in the same folder. Now download dex%#ar from this link
and extract it to the same folder. Now open command prompt and change directory to that folder.
&hen write dex2jar classes.dex and press enter. Now you get classes.dex.dex2jar file in the same folder.
&hen download #ava de-compiler from
and now doule click on #d'gui and click on open file. &hen open classes.dex.dex2jar file from that folder. Now you get class files and
save all these class files (click on file then click (save all sources( in #d'gui) y src name. )xtract that zip file (classes_dex2jar.src.zip) and
you will get all #ava files of the application.
!t this stage you get #ava source ut the xml files are still unreadale" so continue.
Step 3:
Now open another new folder and put these files
*. put .apk file which you want to decode
%. download !pktool for windows v1.x !nd Apktool
install window using google and put in the same folder
1. download framework'res.apk file using google and put in the same folder (Not all apk file need framework'res.apk file)
2. +pen a command window
3. Navigate to the root directory of !,-tool and type the following command: apktool if framework-res.apk.
!ove command should result in Framework installed ....
*. apktool d (appName(.apk ((appName( denotes application which you want to decode) now you get a file folder in that folder and
now you can easily read xml files also.
Step : .inally we got the res as well as #ava code of pro#ect which is our target at starting.

You might also like