Run the cmd command to generate an android signature certificate.
Run the cmd command to generate an android signature certificate. If you have time, write an eclipse-exported apk with a signature, which includes generating a new signature. Now let's talk about how to generate a signature certificate in cmd.
1. Enter the JDK bin directory under dos
Run the following command: keytool-genkey-alias android. keystore-keyalg RSA-validity 20000-keystore android. keystore
(-Validity 20000 indicates the validity period.) After the command is completed, android. keystore is generated in the bin directory.
Example:
C: \ Program Files (x86) \ Java \ jdk1.8.0 _ 25 \ bin>
Keytool-genkey-alias test. keystore-keyalg RSA-validity 20000-keystore d: \ test. keystore
Ps:-keystore alias generated by alias test,-keyalg RSA encryption and digital signature algorithm,-validity 20000 valid days
Enter the keystore password: 123456
Enter the new password again: 123456
What is your first name and last name?
[Unknown]: rob
What is the name of your organization?
[Unknown]: abc
What is your organization name?
[Unknown]: abc
What is the name of your city or region?
[Unknown]: guangzhou
What is the name of your province/city/autonomous region?
[Unknown]: guangzhou
What is the dual-letter country/region code for this unit?
[Unknown]: cn
CN = rob, OU = abc, O = abc, L = guangzhou, ST = guangzhou, C = cn is correct?
[No]: y
Enter the <test> key password
(If it is the same as the keystore password, press Enter ):
If no error exists, go back to the root directory of drive D and check that test. keystore is added.
So the first input is the keystore password.
The password of the key alias. Generate a signature here.
2. View md5 fingerprint verification
Enter keytool-list-v-alias androiddebugkey-keystore and add the copied content from the red box.
Here is the keytool-list-v-alias androiddebugkey-keystore C: \ Users \ ZLQ \. android \ debug. keystore. Press enter.
-Alias androiddebugkey: This is an alias.
-Keystore C: \ Users \ ZLQ \. android \ debug. keystore key store
Enter the password. The password is android. Now you can obtain the MD5 fingerprint.