View Android APK Source Code cracking and Android apk source code

Source: Internet
Author: User

View Android APK Source Code cracking and Android apk source code
Tool preparation:

<1>. AXMLPrinter2 tool of android4me
<2> dex2jar
<3> jd-gui
Tool download: http://download.csdn.net/detail/catshitone/8491347

Start: Step 1:

First, decompress the apk package with the decompression software (such as good pressure. The unzipped xml file is garbled when it is opened. How can this problem be solved?

Step 2:

Open cmd.exe to enter the decompressed folder. Input:

Java-jar AXMLPrinter2.jar showtimes_list.xml> h. xml

Showtimes_list.xml is the garbled xml file to be viewed, and h. xml is a non-garbled file after conversion. The name can be customized.

Step 3:

Decompress the package and obtain a classes. dex file. We need to change the dex file to a jar file. Another tool dex2jar is used here. Run cmd to enter the dex2jar file directory and copy the classes. dex file. Enter the following command:

Dex2jar. bat classes. dex


After running, there will be one more classes. dex. dex2jar. jar file in the current folder. This file is the jar file we need.

Step 4:

Use jd-gui to reverse engineer the jar file into java code. Open jd-gui and drag the generated jar file to view the source code. However, this source code is not exactly the same as the original real source code.

Www.sltianxia.com

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.