View Android apk source hack

Source: Internet
Author: User

Tool Preparation:

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

Start: The first step:

First use the decompression software (such as good pressure), and so on, the APK package extracted. Where the extracted XML file is garbled when opened, how to view it?

Step Two:

Open the Cmd.exe into the unpacked folder. Input:

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

Where Showtimes_list.xml is the garbled XML file you want to view, H.xml is the converted non-garbled file. The name can be customized.

Step Three:

After extracting a classes.dex file, we need to turn the Dex file into a jar file. Here's another tool for Dex2jar. Use 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.

Fourth Step:

Reverse-engineer The jar file to Java code using Jd-gui. Open the Jd-gui the jar file that you just generated and drag it to the side to see the source code directly. However, this source code is not the same as the original real source code.

Www.sltianxia.com

View Android apk source hack

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.