Android anti-compile debug source 1. Anti-compilation Get source code
Enter commands directly under Windows command line Java-jar Apktool_2.0.0.jar d-d Millet motion _1.4.641_1058.apk-o out, where the-d parameter must be used, so that the decompile code suffix is java, Only Java files can be debugged by eclipse.
2. Add a debug flag
Create a new Android project in eclipse with the Out folder as the source and replace all the resource files under the Out folder with the current resource file. Locate the androidmanifest.xml below the Out folder, open with Sublimetext, add debuggable input to the Applicatoin node, and set to true.
3. Back to compile
Then recompile the whole project with Apktool, package the program into a jar package, enter the following command Tools>java-jar Apktool_2.0.0.jar b-d Out-o Src.jar, and after a few minutes, you can see Src.jar. Add the jar package to the new project's Libs directory, drop out all the source code, you can directly run debugging
Android anti-compile debug source