Ln-s ../build-tools/19.0.0/aidl
Test: $ aapt
Android Asset Packaging Tool
Too many other users ‵‵‵‵‵·
Obtain the Apk package name, VersionCode, VersionName, and other information.You can use aapt to obtain information about the Apk, including packageName, title, and versionCode.
Mac users download this AAPT, Windows users download this AAPT
Run the following command on the console:
Aapt dump badging ~ /Downloads/youku.apk
You can get the following information:
Package: name = 'com. youku. pad 'versionCode = '13' versionName = '2. 4.2'
Uses-permission: 'android. permission. READ_PHONE_STATE'
Uses-permission: 'android. permission. WRITE_EXTERNAL_STORAGE'
Uses-permission: 'android. permission. wake_lock'
Uses-permission: 'android. permission. SYSTEM_ALERT_WINDOW'
Uses-permission: 'android. permission. WRITE_SETTINGS'
Application-label: 'youku HD'
......
Get Apk SignatureFirst, download the wandoujia-tools.jar package to your local machine and enter such commands on the console (no line breaks)
Java-cp~ /Downloads/Wandoujia-tools.jar com. wandoujia. tools. ApkSignatureToolsMain "~/Downloads/youku.apk"
Note that the bold part represents the directory of the wandoujia-tools.jar you downloaded and the full path of the Apk you want to analyze, And the rest remains unchanged. The following two sentences are displayed after execution:
SignatureMd5 = b791ac2c93d279c4a52b6bcc68c5c32e
Md5 = b5ed58fa6fbb460c9b618fccfcc8cb37
Indicates the MD5 Signature and the MD5 string of the file respectively.