The latest version of Android anti-compilation apk file under Mac Notebook

Source: Internet
Author: User

This text is mainly for Mac notebook anti-compilation apk tutorial, are the latest, the first need to list the tools:Apktool Dex2jar Jd-jui is the main 3 tools.  
Apktool function: Mainly used to decompile the XML file below Res. Dex2jar function: Mainly used to decompile apk view source code. Jd-jui function: View the Dex2jar back-compiled jar file.
If the apk is confused, generally can only clear the view of the contents of the XML file is the res under all the files, the code basically do not understand, that is, some a B c such names, can not basically look at the basic, see what technology inside use and so on.
I am also online learning, Google Tutorial to do this tutorial, are all used the latest tools, Apktool is currently the latest: Apktool_2.0.0rc3.jar, official website: https://bitbucket.org/iBotPeaches/ Apktool/downloads, I'll go first. Installation tutorial for Google Original: installation for Apktool 2.x
  • Windows:
    1. Download Windows Wrapper script (right click, Save Link as apktool.bat)
    2. Download Apktool-2 (Find newest here)
    3. Rename downloaded jar to Apktool.jar
    4. Move both files (Apktool.jar & apktool.bat) to your Windows directory (usually c://windows )
    5. If you don't have access to c://windows, the the both files anywhere then add this directory to your En Vironment Variables System PATH variable.
    6. Try running apktool via command prompt
  • Linux:
    1. Download Linux Wrapper script (right click, Save Link as apktool)
    2. Download Apktool-2 (Find newest here)
    3. Rename downloaded jar to Apktool.jar
    4. Move both files (Apktool.jar & apktool) to /usr/local/bin (Root needed)
    5. Make sure both files is executable (chmod +x)
    6. Try running apktool via CLI
  • Mac OS X:
    1. Download Mac Wrapper script (right click, Save Link as apktool)
    2. Download Apktool-2 (Find newest here)
    3. Rename downloaded jar to Apktool.jar
    4. Move both files (Apktool.jar & apktool) to /usr/local/bin (Root needed)
    5. Make sure both files is executable (chmod +x)
    6. Try running apktool via CLI
Note-Wrapper scripts is not needed, but helpful so you don't have the to typeJava-jar Apktool.jarOver and over.
3 platforms are all, this time I mainly use Mac OS X, so I am also downloading the tutorial is the download of the corresponding software, 1. Download wrapper script, in fact, is a scripting, direct click is to view this script need to right-click: Wrapper Script and then select The connection is stored as: The name is:Apktool,ok This download is complete,2. Download Apktool, click Find newest here to enter
This is the way, click Apktool_2.0.0rc3.jar, download on the line, downloaded after the name of the duplicate:Apktool.jar.3. Put just two filesApktool.jar&apktool Copy to/usr/local/binThe advantage is that any directory can be executed apktool this command. 4. Enter the CD/usr/local/bin This directory, executechmod +x Apktool So you can execute Apktool's order,

Well, after you've done that, you can decompile the apk file and look at all the XML files. Any directory execution: Apktool d apk in the directory, mine is Apktool d/users/niehua/downloads/72bd839852bf76584c3640558a5a8b84.apk, This will be in the user's directory generated this folder, because I did not specify the directory, so the default to the user's directory generated this folder, open basic can see all the XML files, absolute leverage.
The above is the use of Apktool tools, no in-depth study, it will be this if there is a deep study together.

Now do the APK source code research, it will need to use ourDex2jar Tools, official website:Https://code.google.com/p/dex2jar/downloads/list currently the latest version is; dex2jar-0.0.9.15, after the download to unzip, after the CD into the extracted directory, to performchmod +x dex2jar.sh so you can execute Dex2jar commands. For ease of implementation, you can also add this command to the PATH environment variable inside, I will not say, my own Google query, in dex2jar current directory execution:./dex2jar.sh apk Path, my example is:Success will show the success of the path, and then your apk's current directory will be more than a Coscos_2.01_cesshi_dex2jar.jar, your apk name of the jar file, and then use our 3rd tool to view,Jd-jui ToolsJd-jui Tools: Official website: http://jd.benow.ca/, I am a mac ben so just download mac corresponding on the line, download good after open, click on the left folder to open the newly-compiled jar file,
Basically this is the case, roughly look at it, because the confusing code, OK, Mac anti-compilation journey is complete, thank you.

Some may have to turn over the wall, I have already downloaded it and offered it to everyone:, http://download.csdn.net/detail/kaixing20/8244619


Download file Structure Description:
Official website Download does not move: meaning is downloaded from the official website did not follow the tutorial, is intact files, you can fully operate the tutorial, has been modified after: it means that I now have the ability to execute the files copied over, you just copy to the corresponding directory can be executed.
All right, you don't understand. Let's ask questions and learn together. One of the benefits of the latest apktool is that it supports the latest Android 5.0 anti-compilation.

The latest version of Android anti-compilation apk file under Mac Notebook

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.