Certified Business Analysis Professional (CBAP)

Tutorial:Decompile & Compile .apk files (SettingUp Apktool)



SCREEN SHOT




Hello friend's in this post i am going to show you, how you can easily Compile and Decompile .apk files using APKTool. Apktool is the best tool for opening, editing and building .apk files.Okay let's start..!!

Step:-1 First of all you need to download APKTool .zip (Click below download button to download this tool)




Step:-2 Download and install JAVA JDK Note-[If u doesn't install JAVA then u can get any kind of error while decompiling  and compiling .apk files (Click below download button to download JAVA.exe)
Step:-3 Now extract downloaded APKTool.zip and copy APKTool folder to C:/ Paste here

Step:-4 Now go to C:/and open Apktool folder

Step:-5 in apktool folder press the shift key from keyboard and then right click from mouse inside anywhere in apktool folder so you will get advance menu option, in advance menu option  select open command window here.


Step:-6 in command window type apktool if framework-res.apk  and hit enter now framework is install. 



Step:-7 now copy your apk file (u want to decompile) to c: /APKTool: /paste here



and once again press the shift key from keyboard and then right click from mouse inside anywhere in apktool folder so you will get advance menu option, in advance menu option select open command window here, In Command window type apktool d (and type your .apk file name) For example I use SystemUI.apk



Now your .apk file is extract in C: /APKTool: / folder with same file name







Done
Compiling .apk files


If u want to compile your extracted apk file folder then follow bellow steps..!!

Step:-1 press the shift key from keyboard and then right click from mouse inside anywhere in apktool folder so you will get advance menu option, in advance menu option select open command window here, In Command window type apktool b SystemUI(type your extracted folder name)


And hit enter



Now go to c: / APKTool: / and rename SystemUI.apk  to  SystemUI.zip.


 After rename SystemUI.zip Open it with WinRAR and copy META-INF and AndroidManifest to C:/ APKTool:/ SystemUI:/ buld:/apk:/paste here and replace it.( Watch below images)






After successfully replace once again type apktool b SystemUI in command window now it will take 4 to 5 second to process and now your .apk file will build in,

C: / APKTool: / SystemUI: /dist: /your apk file.apk

DONE..!!

NOTE:-IF U LIKE THIS POST PLEASE GIVE ME YOUR COMMENTS FOR YOUR FEEDBACK SUGGESTION OR HELP.
 
Previous
Next Post »

3 comments

Click here for comments
Anonymous
admin
13 January 2015 at 03:56 ×

This post is really help me ..Thanks

Reply
avatar
Unknown
admin
16 February 2015 at 21:10 ×



ApkTool - If you want to know how to decompile apk apps, then you can use Apktool for better results. You can Check this tutorial to Learn How to decompile and compile apk apps using apk tools. Apktool is for reverse engineering Android apk files

Dex2jar - You can use Dex2jar tool to work with android .dex and java .class files.

Reply
avatar
16 February 2015 at 21:10 ×


ApkTool - If you want to know how to decompile apk apps, then you can use Apktool for better results. You can Check this tutorial to Learn How to decompile and compile apk apps using apk tools. Apktool is for reverse engineering Android apk files

Dex2jar - You can use Dex2jar tool to work with android .dex and java .class files.

Reply
avatar

Contact Form

Name

Email *

Message *