In the actual development process, we will see a good third-party effect, envy, and want to see the UI layout of people. The following describes how to decompile third-party applications, and recompile the entire process
Step 1 download android-apktool
Http://code.google.com/p/android-apktool/ download path
Download two files: apktool1.4.3.tar.bz2, apktool-install-windows-r04-brut1.tar.bz2
Step 2 extract
Compress two files and copy the files aapt.exe, apktool. bat, and apktool. jar to the C: \ Windows folder.
Step 3: extract the specified apk
Enter cmd to open the dialog box and enter the following command
Apktool d "[apk folder location]" "[decompressed folder]"
Example apktool d "D: \ VoiceSecretary.apk" "D: \ VoiceSecretary"
Step 4 Edit the UI information in the decompressed folder.
Note: The decompressed folder contains two parts:
The UI part is consistent with the developed File
Non-source files in the background are directly compiled files.
Step 5 re-compile
Enter cmd to open the dialog box and enter the following command
Apktool B "[decompressed folder]"
Location of the compiled apk file [decompressed folder] \ dist \ apk File
Step 6Digitally sign an unsigned apk
Refer to the jarsigner command