View the APK package name signature and other information. The apk package name Signature
Some game third parties, for example, need to configure the game package name and signature for sharing. The package names in different channels have different signatures, so you often need to view signature information such as different apk packages, in the past, I used the mobile client of the Weibo open platform to view the apk signature, provided that I knew the package name and found the method to view the signature and package name online, find a useful tool to share with you.
Weibo Open Platform viewing signature tool: Download
However, if you do not know the package name, you still cannot obtain it. In addition, you must install the package on your mobile phone and use the app to obtain it. in development, it is obvious that the following method is easier.
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'
......
Obtain Apk signature information
First, 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.
Reprinted address