1. Run the following command in cmd,
C: \ Program Files \ Java \ jdk1.6.0 _ 26 \ bin> keytool-genkey-alias Android. keystore-keyalg RSA-validity 200000-keystore Android. keystore
2. Enter the following signature information. The password is not displayed and does not seem to have been entered.
Enter the keystore password:
Enter the new password again:
What is your first name and last name?
[UNKNOWN]: Wang
What is the name of your organization?
[UNKNOWN]: Wang
What is your organization name?
[UNKNOWN]: Wang
What is the name of your city or region?
[UNKNOWN]: Guangzhou
What is the name of your state or province?
[UNKNOWN]: Guangdong
Two-letter country in the unitCodeWhat is
[UNKNOWN]: CN
CN = Wang, ou = Wang, O = Wang, L = Guangzhou, St = Guangdong, c = cn?
[No]: Y
Enter the primary password of <Android. keystore>
(If the password is the same as the keystore password, press Enter ):
3. After completing the preceding steps, an android. keystore file is generated in the bin folder under JDK.
4. In eclipse, right-click the project to be deployed -- Android tools -- export signed application package... -- Select the project to be deployed -- select the generated signature file and enter the password,
The last step is to select the output path for storing the package file. The suffix is APK, OK!