Android apk decompilation in mac, androidapk

Source: Internet
Author: User

Android apk decompilation in mac, androidapk
Required tools: apktool dex2jar download jd-gui download
The layout and resource files are obtained by decompiling apktool. The Code bytecode obtained by dex2jar decompilation can be viewed using jd gui.
1.apk tool installation 1) download apktool and apk-install-macosx on mac 2) decompress these two files and copy these three files to the path. (Note that the root permission is required) 3) decompile with apktool d xxx.apk to get a folder with the same name. There is the layout file we need.
2.dex2jardecompilation: 1. Change the suffix of the APK file to. Zip and decompress it. Obtain the classes. dex file, which is compiled by the java source code and packaged by the dx tool. 2) copy the classes. dex file to the folder where dex2jar is located. 3) locate the dex2jar directory under the command line and run sh dex2jar. sh classes. dex to generate classes_dex2jar.jar. Open it with jd gui and you will see the source code.

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.