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