Installation of Apktool

Source: Internet
Author: User

Apktool is a compiler tool for Google apk, and it can do a lot of things with it. For example, to obtain the APK source code, apk Han, on the phone ROM package do some landscaping.

First look at the installation of Apktool (configuration):

The following main translation words Apktool official website

------------------------------------------------------------------------

Installation InstructionsQuick Check
    • Apktool 2.x (Apktool 1.5.2以后的版本 )
      1. Do you want to install Java 1.7?
      2. Execute 1.7 at the command line java –version 查看是否返回 ?
      3. If not, install Java 7 and make the relevant environment configuration
    • Apktool 1.x (Apktook 1.5.2之前的版本 )
      1. Do you want to install Java version 1.6 or later?
      2. Execute version 1.6 or higher on the command line java –version 查看是否返回 ?
      3. If not, please install Java 6 or Java 7.
    • --->check whether the computer is installing Apktool (differentiating between Apktool 2.x and Apktool 1.x) to run the required Java environment.
installation of the Apktool 2.x
    • Windows:
      1. Download Script link co-apktool.bat
      2. Download Apktool-2 (Download latest)
      3. Rename the downloaded jar file to Apktool.jar
      4. Move files ( apktool.jar & apktool.bat ) to the Windows directory of your computer, typically C://Windows
      5. If you do not have permission to access C://Windows,你可以将这两个文件放在任意目录下,然后将该目录添加到环境变量path中
      6. Try to run on the command line
    • Linux: (slightly)
    • Mac OS X: (slightly)

Note -The script file bat is not required, but the file is very useful and you can avoid repeatedly typingjava -jar apktool.jar。

Apktool 1.x Installation
    • Windows:
      1. 下载apktool-install-windows-* 文件
      2. 下载apktool-*File
      3. Unzip the above file and move it to the Windows directory
    • Linux: (slightly)
    • Mac OS X: (slightly)

-------------------------------------------------------------------------------

I am using the version: Windows Apktool 2.0.2 (also currently the latest)

1. Copy the script and coexist with the bat file:

@echo offif"%path_base%" "" ""%~dp0\apktool.jar " %1%2%3%4%5%6%7%8%9
2. Download the latest version of Apktool:https://bitbucket.org/ibotpeaches/apktool/downloads
  Rename to Apktook.jar
3. Move files Apktool.bat and Apktook.jar to C:\windows
4. Enter Apktool validation at the command line
You can use the Apktool below!
Reference documents:
Apktool Official website: http://ibotpeaches.github.io/Apktool/

Installation of Apktool

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.