Android generates KeyStore, two ways

Source: Internet
Author: User

First, build Android KeyStore in eclipse

Build any Android project (ex: Antforandroid)

Right-antforandroid root popup menu->android Tools, Export signed application package ...

Next >

The second step: Create the KeyStore keystore, enter the KeyStore export location and password, remember the password, the next use existing KeyStore will be used

Select "Create new KeyStore" and save in a directory (this example is saved in the project and directory) enter the password, then next

Step Three: Fill in the KeyStore information, fill in some apk file password, use the term and organizational unit information. fill in the alias and password Don't forget


Fourth step: Generate a signed apk file, and this is the end.

Fifth step: If the next release, use the previously generated keystore to sign again.


Sixth step: Next,next, End!


This generates the androids.keystore generated by the above process in the project root directory.

Second, command line generation KeyStore

DOS access to the JDK Bin directory

Run the following command:

Keytool-genkey-alias android.keystore-keyalg rsa-validity 20000-keystore android.keystore

(-validity 20000 represents the number of days of validity), and when the command is completed, the Android.keystore is generated in the bin directory

View command Keytool-list-keystore "Android.keystore" Enter the KeyStore password you set

Android generates KeyStore, two ways

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.