Android App signing

Source: Internet
Author: User

Android App signing

Android requires that every Android app must be digitally signed to be able to Android to the system. Android uses digital signatures to identify the author of an application and establish a trust relationship between applications, which is done by the author of the application and does not require an authoritative digital certificate signing authority, which is used to authenticate the application itself.


Impact of Android app signing

With the same signing certificate, applications with different signatures cannot overwrite the generated application, even if the package name is the same, so the primary signature affects the following two points:

1, application upgrade. Upgrading software that uses the same signature can gracefully overwrite the installation of older versions of the software, otherwise the new version of the app installation will not be allowed when the system discovers that the signing certificate is inconsistent.

2, the application of modular. Android allows apps with the same signature to run in the same process, and updates can be upgraded separately.


Android Studio App signing steps:

1. Open Android Studio and select the project you want to publish.

2, choose Build-generate signed APK.

3. Create a new key file and fill in the signature parameters. The specific parameters are as follows:

Key Store Path: Signature file storage paths

Password: password

Alias: Aliases

Validity (years): Years of Certification

First and last name: personal name

Organizational Unit: organizational unit

Organization: Organization

City or Locality: cities or regions

State or province: States or Provinces

Country code (XX): Country codes

4, follow the prompts step by step to build the APK.

5, after signing, with zipalign optimization apk file, command: zipalign-v 4 demo.apk f.apk


This article is from the "Small Ant" blog, please make sure to keep this source http://16410743.blog.51cto.com/10657793/1691314

Android App signing

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.