if you are interested in reverse engineering, this post is for you. in this tutorial, I am going to show you to decompile an APK file. it is just a basic method to decompile an APK.
decompiling is a process to see the internal contents of an APK file.
but I am not going to edit any java file(idk java). if you have some knowledge I can give you a little idea about how it is done.
so for this tutorial, I am going to use a website and a Kali Linux tool.
NO.1
www.javadecompilers.com
it is a website it is so simple here to decompile an APK file. check it out- javadecompilers
Just upload an APK file which you want to decompile. now you don’t need to do anything, the site will start to decompile it.
And once it’s done, you can download that Decompiled file as zipping on your system.
the best thing is, we have our own video tutorial on this website please watch:
NO.2
APKTOOL
this tool run with the help of java. it means you must have installed java(version 1.7<= ) to run APKTOOL.
to check the version of java
Java -version
now if you have java, you can successfully run this tool. I am using Kali Linux, in which the java and the APK tool comes pre-installed.
check out this link to download APKTOOL on Windows, Linux, and Mac.
to decompile an APK file:
apktool d <apkfilename>
this command can take a while(depends on the size of your APK). you will get a result in the same dir with the APK same name.
if you wanna test it, you can use a small size APK like Amazone.
to recompile the file:
apktool b <filename>
it will make your decompiled file an APK file. it means it will recompile it.
BONUS
watch this video to use the GUI tool to decompile an APK file in windows
Thanks For Visiting