Getting the Google Maps API Key

I am using windows 7.

I tried debug.keystore several times with c: \ users \ YOURUSER.android \ with the command:

keytool -list -alias androiddebugkey -keystore c:\Users\YOURUSER\.android\debug.keystore -storepass android -keypass android

He gives me MD5, but then I go to the Google MD5 registration page and it looks like this is not a valid fingerprint.

I was looking for more information, and I finally created a new debug.keystore file in c: \ users \ YOURUSER \ so as not to overwrite the original. I used this command:

keytool -genkey -keypass android -keystore c:\users\YOURUSER\debug.keystore -alias androiddebugkey -storepass android -validity 10000 -dname "CN=Android Debug,O=Android,C=US"

This works, so I use the previous command to get MD5, and this gives me a new MD5. Then I go to Google again and the same problem: "Invalid fingerprint."

I made a second attempt. Here is what I did then: 1) I opened the Windows7 terminal, switched to c: \ program files \ java \ jdk1.7.0 \ bin \ 2) I wrote the command:

 keytool -genkey -v -keystore c:\eclipse\my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

3) MD5 , :

keytool -list -alias alias_name -keystore c:\eclipse\my-release-key.keystore

, . MD5.

4) api key sign up MD5. "FINGERPRINT NOT VALID"

, . , ? !

- ?

+5
3

, MD5, SHA1? -v? . MD5 keytool Java, SHA-1?

+6
  • Java- > jdk- > bin "C:\Program Files\Java\jdk1.7.0_03\bin"
  • "keytool", . "cd C:\Program Files\Java\jdk1.7.0_03\bin"
  • "keytool -list -v -keystore C:\Users\John \.android\debug.keystore" , : "C:\Program Files\Java\jdk1.7.0_03\bin > keytool -list -v -keystore C:\Users\John \.android\debug.keystore". ""

SHA-1, MD5 ..

, API Google google access api

0

All Articles