Geeks With Blogs

Bill Osuch - Random geek notes

I recently upgraded to a new development machine, which means the certificate used to sign my applications during debug changed. Under most circumstances you’ll never notice a difference, but if you’re developing apps using Google’s Maps API you’ll find that your old API key no longer works with the new certificate fingerprint. 

Google's instructions walk you through retrieving the MD5 fingerprint of your SDK debug certificate - the certificate that you’re probably signing your apps with before publishing, but it doesn't talk much about the Keytool command.

The thing to remember is that Keytool is part of Java, not the Android SDK, so you'll never find it searching through your Android and Eclipse directories. Mine is located in C:\Program Files\Java\jdk1.7.0_02\bin so you should find yours somewhere similar.

From a command prompt, navigate to this directory and type:

keytool -v -list -keystore "C:/Documents and Settings/<user name>/.android/debug.keystore"

That’s assuming the path to your debug certificate is in the typical location. If this doesn’t work, you can find out where it’s located in Eclipse by clicking Window –> Preferences –> Android –> Build.

There's no need to use the additional commands shown on Google's page. You'll be prompted for a password, just hit enter. The last line shown, Certificate fingerprint, is the key you'll give Google to generate your new Maps API key.

Technorati Tags:

Posted on Thursday, October 18, 2012 9:18 AM Mapping , Android | Back to top


Comments on this post: Android–Finding your SDK debug certificate MD5 fingerprint using Keytool

# re: Android–Finding your SDK debug certificate MD5 fingerprint using Keytool
Requesting Gravatar...
Congrats on the great blog Bill! My name is Anna, and I am a Marketing Coordinator at Syncfusion. I am reaching out to see if you would blog about one of our free e-books, collectively known as the Succinctly series. It is a great way to add value to your personal website. Please contact me at annah@syncfusion.com for more information on this opportunity.
Left by Anna Holland on Mar 18, 2013 12:04 PM

# re: Android–Finding your SDK debug certificate MD5 fingerprint using Keytool
Requesting Gravatar...
Good article and very smart solution. We are working on something similar right now.
192.168.l.l
Left by mething on Jul 29, 2016 2:02 AM

# Obat Herbal Kanker Hati Ganas
Requesting Gravatar...
I would like to thank you for your properly written content their useful and your writing type helped me to it without the difficulty. Cheers. Obat Herbal Kanker Hati Ganas
Left by diah ayu on Jan 13, 2017 12:20 AM

# Obat Herbal Kanker Usus Stadium 1 hingga 4
Requesting Gravatar...
I found useful information on this topic as I'm taking care of a company project. Many thanks posting relative information and it's currently becoming easier to complete this project. Obat Herbal Kanker Usus Stadium 1 hingga 4
Left by lampung permai on Jan 13, 2017 12:21 AM

# Obat Herbal Kanker Otak Stadium 2
Requesting Gravatar...
We're currently taking care of a great assignment and I have been exploring your page for a couple of hours. Appreciate your it proved helpful for me. Obat Herbal Kanker Otak Stadium 2
Left by permata hijau on Jan 13, 2017 12:22 AM

# re: Android–Finding your SDK debug certificate MD5 fingerprint using Keytool
Requesting Gravatar...
This article we are needed to find android debug certificate finger print using styles. So many instructions I have archived to write best website to get essays stories and reviews. Then every user happy to update the blog shared news reviews.
Left by imothy on Feb 16, 2017 2:02 AM

Your comment:
 (will show your gravatar)


Copyright © Bill Osuch | Powered by: GeeksWithBlogs.net