Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google maps api for android registration page

I'm facing an issue with the google maps api for android.

All tutorials and instructions tell you to fetch that debug.keystore file and fetch it's signature, and stick it into the google registration page.

This is failing for me, I'm getting this error

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

I honestly have no idea what I'm doing wrong :( any help would be appreciated.

EDIT: here's the signature I'm getting

51:A6:89:45:CB:20:19:DF:55:CB:AE:23:E7:31:47:42:05:47:A2:79

I'm suspecting this is too long

like image 532
KamalSalem Avatar asked Nov 14 '11 23:11

KamalSalem


People also ask

How do I register for Google Maps API?

Go to the Google Maps Platform > Credentials page. On the Credentials page, click Create credentials > API key. The API key created dialog displays your newly created API key. Click Close.

Is Google Maps API free for website?

All Maps Embed API requests are available at no charge with unlimited usage.

Is Google Maps API free for Android?

Note that the Maps Embed API, Maps SDK for Android, and Maps SDK for iOS currently have no usage limits and are at no charge (usage of the API or SDKs is not applied against your $200 monthly credit).


1 Answers

Did you follow instructions in section titled: Getting the MD5 Fingerprint of the SDK Debug Certificate found here:

http://code.google.com/android/add-ons/google-apis/mapkey.html#overview

Do you have jdk 1.7? I googled and found the following stackoverflow answer which I cannot verify since I do not have 1.7: Any difference between MD5 and SHA1 for getting MAP API?

which points to http://code.google.com/p/android/issues/detail?id=19035

and says "With JDK 1.7 installed, keytool outputs by default SHA1 fingerprint, not MD5. Adding -v option allows to see MD5 as well."

like image 144
Arlene K Avatar answered Sep 30 '22 13:09

Arlene K