First, we need a keystore, of course, already have, then do not need this step: the
Jdk's bin directory into, so, android.keystore file will be generated in this directory, sign this document when we need to
C: \ Program Files \ Java \ jdk1.6.0_10 \ bin> keytool-genkey-alias android.keystore-keyalg RSA-validity 20000-keystore android.keystore
Enter keystore password:
Re-enter new password:
Your name and maiden name?
[Unknown]: qiaoling your organizational unit name?
What is the name of your organization?
Your city or region name?
Your state or province name?
The unit is what the two letter country code
CN = qiaoling, OU = www.chinaandroid.com, O = www.chinaandroid.com, L = haidian, ST = BJ, C = 86 correct?
Enter <android.keystore> master password (the same if and keystore password, press Enter):
Parameter-validity of which the number of days for the certificate is valid, where we write bigger 10,000 days. There did not enter the password in echo (although that is lost friends) and the backspace, tab and so are the contents of the password, the password to. Apk file signatures when necessary.
Eclipse, right-click the project need to be signed -> android tools -> export signed application package ...
The following dialog box appears, select the signature of the project
next, select the above generates android.keystore file location and set the password
next, select the signature file location and name of the generated
|Delivery seven days no reason to pack the country returned 890 yuan for HTC G1|