Android APK signature for Ionic development

Source: Internet
Author: User

First enter the \platforms\android directory to generate a KeyStore file:

Keytool-genkey-alias mykey-keyalg rsa-validity 40000-keystore demo.keystore

Create a new file in this directory: Release-signing.properties, with the content:

Signingconfigs {          Release {          keyalias =mykey          storepassword =1234568          Keypassword =1234568 StoreFile =demo.keystore     }}

To perform a packaging operation:

Ionic Cordova Build Android--prod–release

Will generate android-release.apk

Signature check:

Change the apk suffix to zip (preferably backed up), then unzip the file with a Meta-inf folder containing the Cert.rsa file. Take this RSA file out and run

Keytool-printcert-file. \cert. Rsa

The signature information is output:

If there is no signature, the following extension information is not shown.

Android APK signature for Ionic development

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.