Wrox Programmer Forums
|
BOOK: Beginning Android Application Development
This is the forum to discuss the Wrox book Beginning Android Application Development by Wei-Meng Lee; ISBN: 978-1-1180-1711-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Android Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 28th, 2011, 08:14 PM
Authorized User
 
Join Date: Nov 2011
Posts: 86
Thanks: 3
Thanked 5 Times in 5 Posts
Angry CH 9: Android Maps API Key Signup Fails

Hi All
I have followed the instructions in the book and gotten a certificate's MD5 fingerprint (8A:80:E2:80:...96:54:E8:CB). When I put this in the Google Sign Up for the Android Maps API page, I get "The fingerprint you entered is not valid. Please press the Back button on your browser and enter a valid certificate fingerprint."
I have tried several times and I always get the same fingerprint and the same message from Goggle.
Anybody got a wild guess on what to try next?

Thanks for any help
Cliff
__________________
"Software to the Stars"
Failure is not an option. It comes bundled with your Microsoft products.
 
Old December 28th, 2011, 08:48 PM
Authorized User
 
Join Date: Nov 2011
Posts: 86
Thanks: 3
Thanked 5 Times in 5 Posts
Default Answer

Hi All
Why is just after you post a question, you get the bright idea that lets you solve it?

Anyway, the problem was that what I was getting form the keytool was a SHA1
signature and not a MD5 signature. If you have this problem run the keytool as follows:
[code]
keytool.exe -v -list -keystore "F:\Documen
ts and Settings\Cliff\.android\debug.keystore" -storepass android
[\code]
You will a lot more information.
[code]
Keystore type: JKS
Keystore provider: SUN

Your keystore contains 1 entry

Alias name: androiddebugkey
Creation date: Oct 29, 2011
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=Android Debug, O=Android, C=US
Issuer: CN=Android Debug, O=Android, C=US
Serial number: 78b5b98e
Valid from: Sat Oct 29 18:55:13 CDT 2011 until: Mon Oct 21 18:55:13 CDT 2041
Certificate fingerprints:
MD5: ######
SHA1: #####
SHA256: #####
Signature algorithm name: SHA256withRSA
Version: 3

Extensions:

#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0#### .d.w
[\code]
Use the MD5 signature for the Google Maps API.

Cliff
__________________
"Software to the Stars"
Failure is not an option. It comes bundled with your Microsoft products.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Google maps debug key invalid Tonyha BOOK: Beginning Android Tablet Application Development 1 November 22nd, 2011 07:19 AM
Ch 7 Provider pg239 crashes in android-10 mtvoyd BOOK: Beginning Android Application Development 0 September 9th, 2011 03:18 PM
Google Maps Data API (Deprecated) vtrandal BOOK: Professional Android 2 Application Development 0 November 6th, 2010 03:47 AM
Chapter# 2 - Page 23 what to key in the new Android Project Ahmed75 BOOK: Professional Android 2 Application Development 7 August 29th, 2010 12:19 AM
com.google.android.maps library unavailable lz1234 BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 1 June 7th, 2009 10:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.