I want to see the APK source code how to do? Then you need to use the APK Anti-compilation tool.
First, the idea of anti-compilation:
1) apk file is actually a compressed package. Change the file suffix. apk to. zip to open with the unzip software. You can see several files by opening a compressed package:
To see the source code, only need to pay attention to classes.dex on the line, this file is the source code APK.
2) Classes.dex is a source file that is packaged by the Android SDK and cannot be opened directly. Then you need a tool to open classes.dex.
3) After opening the source code is some. class files, learned Java all know, these are bytecode files, but also cannot be opened directly to see. Java source code. This also requires a tool to decompile the. class file into a. java file.
The idea was followed by the introduction of tools and functions.
1) apktool--Open apk
2) dex2jar--converts the classes.dex into a. jar file, which is a bunch of. class files
3) jd-gui--Convert. class files to. java files that we can read
Serving:
Apktool
: http://ibotpeaches.github.io/Apktool/
Dex2jar
: Https://github.com/pxb1988/dex2jar
Jd-gui
: http://jd.benow.ca/
How to use it?
Look at the official documents, I don't say, don't be so lazy, just a few words.
Well, there's also a Chinese link here, but it's a bit outdated, because the tool has been updated
http://blog.csdn.net/vipzjyno1/article/details/21039349
Android Anti-compilation apk file