Need tool: Apktool download Dex2jar download Jd-gui download
The Apktool is the layout and resource files that are compiled. Dex2jar compiled code bytecode, using the JD GUI to view the source code.
1.apktool install 1) download Apktool, and Mac Apk-install-macosx 2) unzip the two files and copy the 3 files to the path. (Note that root permission is required) 3) use Apktool D xxx.apk to decompile and get a folder with the same name. There is the layout file we need.
2.dex2jar decompile 1) Change the apk file suffix name directly to. zip and unzip. Get the Classes.dex file, which is the Java source code is compiled and then packaged with the DX tool. 2) Copy the Classes.dex file to the same folder as the Dex2jar. 3) under the command line to locate the Dex2jar directory, run SH dex2jar.sh classes.dex generation Classes_dex2jar.jar with the JD GUI Open can see the source code.
Android APK mac under anti-compilation