Installing the APK Anti-compilation tool Apktool under CENTOS

Source: Internet
Author: User

Change to: http://www.qiansw.com/centos-apk-apktool.html

I'm using a CentOS6.4 64-bit system.
You need to download two packages first.
Download here: Https://code.google.com/p/android-apktool
Users can not open directly to the article to download the attachment (version may not be up-to-date).

Download the java:http://www.java.com/zh_cn/download/manual.jsp here

1. Unzip the two packages in the attachment to get three files and copy them all to the/usr/local/bin directory.
2. After downloading the Java installation:

1 Shell > yum localinstall JRE-7u55-linux-x64. RPM

3. Error Handling:
Anti-compile command:
/usr/local/bin/apktool d-f/HOME/PKG/VV.APK/HOME/PKG/VV
Package Command:
/usr/local/bin/apktool b-f/home/pkg/vv/home/pkg/vv.apk

Cannot run Program "AAPT": error=2, No such file or directory
Error when executing aapt.
-bash:/usr/local/bin/aapt:/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory
See which package you need to install.
Yum provides */ld-linux.so.2
Follow the prompts to install:
Yum Install glibc-2.12-1.132.el6.i686
Try to continue with the package command.
Error aapt:error while loading shared libraries:libz.so.1:cannot open Shared object file:no such file or directory
Yum Install zlib-1.2.3-29.el6.i686
Error aapt:error while loading shared libraries:libstdc++.so.6:cannot open Shared object file:no such file or directory
Yum Install libstdc++-4.4.7-4.el6.i686
Error: Protected multilib versions:libstdc++-4.4.7-4.el6.i686! = libstdc++-4.4.7-3.el6.x86_64
Indicates that the 64-bit version of the libstdc++ version is inconsistent with the 32-bit version that needs to be installed, and the 64-bit version needs to be upgraded first.
Yum Install libstdc++

Make a clean look:

Shell
12 yum localinstall jre -7u55-linux-x64.rpm Yum install -y glibc-2.12-1.132.el6.i686 zlib- 1.2.3-29.el6.i686 libstdc+ + libstdc+ +-4.4.7-4. el6.i686

Installing the APK Anti-compilation tool Apktool under CENTOS

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.