(Android practice) third-party apps decompile and modify the UI information, and then re-compile

Source: Internet
Author: User

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

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.