How to quickly get information such as the APK signature/package name

Source: Internet
Author: User

Method from Baidu Search: Original link method1: byAndroidClient

will get the APK install into pea pods Android version, then find the app through app Management, go to the app's details page, click the app icon continuously 5 , you can get the APK the package name, Versioncode , signature and other information.

Method2: By knocking a few lines of command (regardless of theAppWhether included, are common) getAPKPackage name,Versioncode、Versionnameand other related information

By using aapt, you can get information about the Apk including PackageName,title,Versioncode , and so on.

Mac users download this aapt, andWindows users download this aapt

Then, in the console, use the following command:

AAPT dump badging ~/downloads/youku.apk

You can get information such as this:

package:name= ' Com.youku.pad ' versioncode= ' - ' 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 '

......

GetAPKSignature information

First download the "Wandoujia-tools.jar" package to local, enter such command (no Line break) in the console

JAVA-CP ~/downloads/ Wandoujia-tools.jar Com.wandoujia.tools.ApkSignatureToolsMain "~/downloads/youku.apk"

In particular, the bold sections represent the full path to the directory where you downloaded the wandoujia-tools.jar and the Apk that you want to analyze, and the rest of the sections are the same. After execution, you will see two sentences:

signaturemd5=b791ac2c93d279c4a52b6bcc68c5c32e

Md5=b5ed58fa6fbb460c9b618fccfcc8cb37

Represents the signature MD5 and the file MD5 string, respectively.


How to quickly get information such as the APK signature/package name

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.