How to check whether the android file signature is successful (post)

Source: Internet
Author: User

..................

Back to Android, there are many people who have developed Android applications this year (because there are too many people who want to make money ). Are the "package name and class name" prone to "crash? With the signature file, these can be well solved.

If an APK uses a key signature, the file with the other key signature cannot be installed or overwrite the old version at the time of release, which can prevent your installed application from being overwritten or replaced by malicious third parties.

For example, if you release an application in the "e-market", You need to upgrade the application and continue to use your previous "signature file ", this will ensure your copyright and security. A high foot, a high devil.

On the screen of the Chinese land, niub's software may also be cracked. With a signature file, this can be well prevented (not completely ).

In this way, the signature is actually the developer's identity. When a transaction is rejected, the signature can prevent it from happening.

The advantages of using a signature file are described above. Not necessarily complete, but they are common and typical.

 

Then, how can we check whether the "signature is successful" after the release ???

 

In fact, the APK file installed from the development environment to the mobile phone using the eclipse + ADT plug-in already contains the debug signature file of the ADT plug-in. But this is not the "formal signature" file at the time of release.

Readers can refer to the specific steps above to try to publish their own app and keep the signature file properly.

After the signature is complete, you can use WinRAR to open the APK,

In the meta-INF directory, open the CERT. RSA file in the text editor. If you can see some of the text you entered when creating the key, it is the formal signature,

 

If the test signature is set to debug. (Generally, garbled characters are displayed, but you can see it clearly with the naked eye)

 

It is worth noting that after the software code is updated (a new APK needs to be released), the Android: versioncode value of manifest must be added to 1 for each update.

 

After understanding this, let's talk about uploading applications. Because Android is a relatively open platform, the restrictions on uploading applications are lower and there is a lack of official specifications. Unlike Apple and Its App Store. In China, there are many websites for uploading applications. The most famous websites in China are "Android Market" and"AndroidE-market, machine-front market "......

Different market audit rules are also different, but they are similar. Note that your app language (International), screen resolution and size support... (of course, this should be done before packaging)

 

Source

 

 

 

====================

A better way is to enter the signed folder in cmd.

 

Jarsigner-verify hello.apk


If the signature is successful as follows, verification is displayed.

 

 

Related Article

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.