Linux get APK package name, version number

Source: Internet
Author: User

1, future aapt and Apktool copy to/usr/bin/below

2, running AAPT error:
-bash:/usr/bin/aapt:/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory
Workaround: The file in which to reverse the search needs to be in which package
Yum Whatprovides */ld-linux.so.2
In the Get list, select Install glibc-2.12-1.132.el6_5.1.i686
Yum-y Install glibc-2.12-1.132.el6_5.1.i686
If you are prompted to have a dependency, the--skip-broken

3. Operation:
Yum Install glibc.i686

This time again to see AAPT or error
Aapt:error while loading shared libraries:libz.so.1:cannot open Shared object file:no such file or directory
Resolution: Ibid.
Yum Whatprovides */libz.so.1--skip-broken
Run if a package version conflict occurs: Yum install zlib

4, this time also to error
Aapt:error while loading shared libraries:libstdc++.so.6:cannot open Shared object file:no such file or directory
Solve:
Yum Whatprovides */libstdc++.so.6
Yum-y Install libstdc++-4.4.7-4.el6.i686
Conflict
Yum-y Install libstdc*
Yum-y Install libstdc++-4.4.7-4.el6.i686
This time, it's basically OK.

AAPT Package: HTTP://PAN.BAIDU.COM/S/1PJKEQCB


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.