Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid fingerprint for generating Google Map key for android application

I have successfully generated the fingerprint Certificate for google map key by using these command

keytool -list -alias androiddebugkey -keystore "C:\Users\pc\.android
\debug.keystore" -storepass android -keypass android

and i got this result

androiddebugkey, Aug 25, 2012, PrivateKeyEntry,
Certificate fingerprint (SHA1): 68:1F:B8:80:C0:B9:96:D1:6E:95:86:69:CD:DB:0E:28:DC:9E:89:51

when i try to register Certificate fingerprint on this site https://developers.google.com/android/maps-api-signup

page replied me The fingerprint you entered is not valid. Please press the Back button on your browser and enter a valid certificate fingerprint

where is problem please help.

like image 283
Bibi Tahira Avatar asked Jan 16 '23 17:01

Bibi Tahira


2 Answers

I find the solution of my problem just changed the command by this

keytool -list -v -alias androiddebugkey -keystore C:\Users\<user>\.android\debug.keystore -storepass android -keypass android
like image 121
Bibi Tahira Avatar answered Feb 13 '23 22:02

Bibi Tahira


If your having issues finding the debug key path or dont want to use the adb you can get the fingerprint in eclipse:

go to window-->preferences and find the android section. Select the build sub-setting.

enter image description here

for the production fingerprint when your exporting your signed application using ADT right before you click finish the hash will be there. just copy it.

like image 27
j2emanue Avatar answered Feb 14 '23 00:02

j2emanue