Get the APK Info tool (Android SDK Aapt tool)

Source: Internet
Author: User

The AAPT command is a tool in the Android SDK that is powerful, such as getting the APK package information on the Windows platform.

Use this tool to prepare the condition, that is, the way to get the Aapt.exe file (2 1 can be selected):

    • Install the Android SDK package (the Java Virtual machine is also required), the executable file Aapt.exe the general default path C:\Users\ your user name \appdata\local\android\android-sdk\platform-tools.
    • or in Http://code.google.com/p/android-apktool/downloads/list. Download apktool-install-windows-r05-ibot.tar.bz2, get Aapt.exe file.

To make sure that it is running, you can add it to the environment variable or the CD to the corresponding path in the cmd window.

1. Get apk basic information

Execute the command in CMD:

AAPT "main command" D "Parameter 1" badging "parameter value" C:\QuickSearchBox.apk "target apk file" >C:\info.txt"information File Store Location"

AAPT d badging C:\quicksearchbox.  APK>C:\info.  TXT         

After the cmd window executes, open C:\info.txt as follows

package:name= ' com.android.quicksearchbox ' versioncode= ' 110′versionname= ' 1.1′
original-package: ' Com.android.quicksearchbox '
sdkversion: ' 8′
targetsdkversion: ' 10′
uses-permission: ' Android.permission.GLOBAL_SEARCH '
uses-permission: ' Android.permission.READ_CONTACTS '
uses-permission: ' Com.android.browser.permission.READ_HISTORY_BOOKMARKS '
uses-permission: ' Android.permission.ACCESS_NETWORK_STATE '
uses-permission: ' Android.permission.INTERNET '
uses-permission: ' Android.permission.WRITE_SETTINGS '
application:label= ' Search ' icon= ' res/drawable-mdpi/search_app_icon.png '
launchable activity name= ' com.android.quicksearchbox.SearchActivity ' label= ' Search ' icon= '
uses-feature: ' Android.hardware.touchscreen '
Main
App-widget
other-activities
other-receivers
supports-screens: ' small ' normal ' large ' xlarge '
supports-any-density: ' True '
locales: ' –_– ' ' Ca ' ' da ' ' ja ' nb ' the ' de ' bg ' ' th ' ' ' fi ' ' VI ' SK ' ' UK ' el ' nl ' ' pl ' ' sl ' ' tl ' ' ko ' ' ro ' ' ar ' ' fr ' ' SR ' tr ' CS ' ' es ' it ' ' lt ' ' pt ' hu ' ru ' LV ' sv ' en_gb ' zh_cn ' es_us ' pt_pt ' zh_tw '
densities: ' 120′ ' 160′ ' 240′

More AAPT commands See: http://song3304.blog.163.com/blog/static/28262506201293194435582/

About Eclipse Signature APK package, error resolution: http://blog.csdn.net/wtbee/article/details/38230461

Get the APK Info tool (Android SDK Aapt tool)

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.