First, build Android KeyStore in eclipse
Build any Android project (ex: Antforandroid)
Right-antforandroid root popup menu->android Tools, Export signed application package ...
Next >
Select "Create new KeyStore" and save in a directory (this example is saved in the project and directory) enter the password, then next
Fill in some information, fill in the alias and password do not forget
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
This article is reproduced from http://www.cnblogs.com/xiaokang088/p/3715358.html
Android Build KeyStore method