Front-facing environment
Requires a Java environment, and if no Java environment is configured, the following links are configured by the tutorial:
Java Development Environment Construction: http://www.cnblogs.com/magisk/p/8496396.html
The tools you need
1, Apktool, function: decompile the APK required resource files and layout settings files, etc.
: https://ibotpeaches.github.io/Apktool/install/
2, Dex2jar, function: decompile the jar file, that is, the APK source program file byte code,
: http://code.google.com/p/dex2jar/downloads/list
3, Jdgui, function: View the Dex2jar anti-compiled jar file, use this tool to see the Java source code corresponding to the bytecode
: http://jd.benow.ca/
How to use
Use at the command line
Anti-compile command: Apktool d <apk path > < decompile file path >
Using this command, you can decompile the apk file under the <apk path > and generate an anti-compilation file under < decompile file path >.
If you do not specify an anti-compilation file path, the default is the current path.
Back to compile command: Apktool B < compile file >
Use this command to re-package the < compiled files > files to the apk file, compile the compilation file will be two more folders <build> and <dist>,apk files in the Dist.
Hope to have some help ~ ~
Android APK Anti-compilation