Decompile apk and apk decompile Tool

Source: Internet
Author: User

Decompile apk and apk decompile Tool

Decompile the source code and images, XML configuration, language resources, and other files of the apk Generation Program.

This is especially useful if it is just a Chinese software.

First, download the tool. This time, apktool is used.

: Http://code.google.com/p/android-apktool/downloads/list

Download: apktool1.4.1.tar.bz2 and apktool-install-windows-r04-brut1.tar.bz2 (both packages are downloaded)

Procedure:

Decompress the downloaded two packages to the same folder. There should be three files: aapt.exe, apktool. bat, and apktool. jar.

Locate the apktool. bat folder in the command line and enter the following command: apktool d C: \ *. apk C: \ * folder, for example:

 

Command Line explanation: apktool d [apk file] [Output Folder]

The decompiled file is as follows (AndroidManifest. xml is used as an example ):


Note: files to be decompiled must be placed in the root directory of drive C.


Re-package the decompiled file into an apk. You can simply enter the apktool B c: \ *** folder (the folder you compiled). The command is as follows:

 

The package apk file is in the directory C: \ HelloAndroid and two folders are generated:

Build

Dist

In this example, package the generated helloandroid.apk. In the above dist folder, OK


Note:This android decompilation tutorial is based on Windows 7 Ultimate 64bit.

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.