View the APK package name signature and other information. The apk package name Signature

Source: Internet
Author: User

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

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.