Decompile Android APK on Mac

Source: Internet
Author: User

1. Download the open-source tool apktool

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

Apktool.jaris also on this site, for example, apktool1.4.1.tar.bz2.

Decompress the package and change it to. jar.


Then use the command line:

./Apktool D ~ /Testdejava/contacts.apk


I: baksmaling...

I: loading resource table...

I: loaded.

I: loading resource table from file:/users/xiebin/apktool/framework/1.apk

I: loaded.

I: Decoding file-resources...

I: Decoding values */* xmls...

I: Done.

I: copying assets and libs...

2. Download dex2jar

Http://code.google.com/p/dex2jar/

Extract

Grant the CHMOD + x dex2jar. Sh permission

Run./dex2jar. Sh ~ /Testdejava/contacts.apk


3. Download JD-Gui

Http://java.decompiler.free.fr/

Run jd-guito open contacts.apk. dex2jar. Jar

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.