Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
ඔයාගෙ Assignment හෝ Thesis එක හරියට හදාගමු
ErMurazor
Updated:
Saturday at 10:52 PM
Ad icon
BlackWall V2ray servers
hu KANNA
Updated:
Wednesday at 4:58 AM
Peppa Pig Family Plush Toy Set – 5 Characters
anil1961
Updated:
Sep 19, 2026
Ad icon
Express VPN PC - 1 Year Rs. 600.00
Sanathbh
Updated:
Sep 19, 2026
Ad icon
Capcut Pro 7 Days Team Plan - Rs. 3️⃣0️⃣0️⃣
Sanathbh
Updated:
Sep 19, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
apk...
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Outzider" data-source="post: 15522555" data-attributes="member: 485899"><p><a href="http://stackoverflow.com/questions/3593420/android-getting-source-code-from-an-apk-file" target="_blank">http://stackoverflow.com/questions/3593420/android-getting-source-code-from-an-apk-file</a></p><p></p><p><strong>Step 1:</strong></p><p></p><p> 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. Now you get classes.dex files, etc. At this stage you are able to see drawable but not xml and java files, so continue.</p><p> <strong>Step 2:</strong></p><p></p><p> Now extract this zip apk file in the same folder (or NEW FOLDER). Now download dex2jar from this link <a href="http://code.google.com/p/dex2jar/" target="_blank">http://code.google.com/p/dex2jar/</a> and extract it to the same folder (or NEW FOLDER). Now open command prompt and change directory to that folder (or NEW FOLDER). Then write dex2jar classes.dex and press enter. Now you get classes.dex.dex2jar file in the same folder. Then download java decompiler from <a href="http://java.decompiler.free.fr/?q=jdgui" target="_blank">http://java.decompiler.free.fr/?q=jdgui</a> and now double click on jd-gui and click on open file. Then 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 jd-gui) by src name. At this stage you get java source but the xml files are still unreadable, so continue.</p><p> <strong>Step 3:</strong></p><p></p><p> Now open another new folder and put these files</p><p> </p><ol> <li data-xf-list-type="ol">put .apk file which you want to decode</li> <li data-xf-list-type="ol">download <a href="https://code.google.com/p/android-apktool/downloads/list" target="_blank">apktool v1.x</a> AND <a href="https://code.google.com/p/android-apktool/downloads/list" target="_blank">apktool install window</a> (both can be downloaded at the same location) and put in the same folder</li> <li data-xf-list-type="ol">download <a href="http://www.4shared.com/get/fKigopxT/framework-res.html" target="_blank">framework-res.apk</a> file and put in the same folder (Not all apk file need framework-res.apk file)</li> <li data-xf-list-type="ol">Open a command window</li> <li data-xf-list-type="ol">Navigate to the root directory of APKtool and type the following command: apktool if framework-res.apk</li> <li data-xf-list-type="ol">apktool d "fname".apk ("fname" denotes filename which you want to decode)</li> </ol><p> now you get a file folder in that folder and now you can easily read xml files also. </p><p> <strong>Step 4:</strong></p><p></p><p> It's not any step just copy contents of both folder(in this case both new folder)to the single one </p><p> and now enjoy with source code...</p></blockquote><p></p>
[QUOTE="Outzider, post: 15522555, member: 485899"] [url]http://stackoverflow.com/questions/3593420/android-getting-source-code-from-an-apk-file[/url] [B]Step 1:[/B] 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. Now you get classes.dex files, etc. At this stage you are able to see drawable but not xml and java files, so continue. [B]Step 2:[/B] Now extract this zip apk file in the same folder (or NEW FOLDER). Now download dex2jar from this link [URL]http://code.google.com/p/dex2jar/[/URL] and extract it to the same folder (or NEW FOLDER). Now open command prompt and change directory to that folder (or NEW FOLDER). Then write dex2jar classes.dex and press enter. Now you get classes.dex.dex2jar file in the same folder. Then download java decompiler from [URL]http://java.decompiler.free.fr/?q=jdgui[/URL] and now double click on jd-gui and click on open file. Then 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 jd-gui) by src name. At this stage you get java source but the xml files are still unreadable, so continue. [B]Step 3:[/B] Now open another new folder and put these files [LIST=1] [*]put .apk file which you want to decode [*]download [URL="https://code.google.com/p/android-apktool/downloads/list"]apktool v1.x[/URL] AND [URL="https://code.google.com/p/android-apktool/downloads/list"]apktool install window[/URL] (both can be downloaded at the same location) and put in the same folder [*]download [URL="http://www.4shared.com/get/fKigopxT/framework-res.html"]framework-res.apk[/URL] file and put in the same folder (Not all apk file need framework-res.apk file) [*]Open a command window [*]Navigate to the root directory of APKtool and type the following command: apktool if framework-res.apk [*]apktool d "fname".apk ("fname" denotes filename which you want to decode) [/LIST] now you get a file folder in that folder and now you can easily read xml files also. [B]Step 4:[/B] It's not any step just copy contents of both folder(in this case both new folder)to the single one and now enjoy with source code... [/QUOTE]
Insert quotes…
Verification
Nawa warak dahaya keeyada? (Namaya wadi kireema dahaya)
Post reply
Top
Bottom