Discussion Forums  >  Maps, Device Location, Tracking

Replies: 12    Views: 166

twotonesimone
Aspiring developer
Profile
Posts: 26
Reg: Sep 01, 2012
Wadhurst
4,060
09/17/12 11:29 AM (13 years ago)

Md5 for using for maps from the debug keystore or release keystore?

do I use the Md5 from the debug keystore or the release keystore? seem to find conflicting advice other places on the web? thanks
 
twotonesimone
Aspiring developer
Profile
Posts: 26
Reg: Sep 01, 2012
Wadhurst
4,060
like
09/17/12 11:53 AM (13 years ago)
lol I just put them both in it works a treat :) nice one all
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/17/12 11:54 AM (13 years ago)
Hi, You can use both, actually, depending on which key you sign your app with. I have had extremely limited success being able to actually get map tiles to show up using the debug keystore and the corresponding Google Maps API. I have had much better luck getting a Maps API based on the release keystore MD5, and then signing the apk with the release keystore. Here's a video I did on the Eclipse Keytool Plugin. It's very helpful in this situation: http://www.youtube.com/watch?v=IaXE2FUENFI Mark
 
pimpekjoza
Android Fan
Profile
Posts: 20
Reg: Jul 12, 2012
zagreb
3,750
like
09/18/12 04:45 AM (13 years ago)
Great this is what i need to get a key
 
pimpekjoza
Android Fan
Profile
Posts: 20
Reg: Jul 12, 2012
zagreb
3,750
like
09/18/12 05:05 AM (13 years ago)
Great this is what i need to get a key
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/18/12 06:12 AM (13 years ago)
The above stuff tells you how to create a release keystore and use the plugin to get your MD5 fingerprint. Then use all that to get the Google Maps API key. http://www.buzztouch.com/files/howtos/Obtaining_a_Google_Maps_API_Key_v1.0.pdf Mark
 
Abidemi11
Lost but trying
Profile
Posts: 17
Reg: Sep 05, 2012
Jacksonville
2,920
like
09/26/12 01:14 PM (13 years ago)
I have eclipse Helios, so I never saw an option to create a keystore from scratch, I'm not especially good at command either, but I wanted to know if it could be installed on Helios. If not, I could give indigo a try.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/26/12 01:15 PM (13 years ago)
Howdy, Check out this video I put together on installing a Keytool Plugin for Eclipse: http://www.youtube.com/watch?v=IaXE2FUENFI It's a nice GUI way to create and manage keystores. If you have any other questions, just let me know! Mark
 
Abidemi11
Lost but trying
Profile
Posts: 17
Reg: Sep 05, 2012
Jacksonville
2,920
like
09/26/12 01:36 PM (13 years ago)
Never mind I've got it ^_^ I installed the software, but didn't know I would have to make an entirely new certificate. The guilde you wrote http://www.buzztouch.com/files/howtos/Obtaining_a_Google_Maps_API_Key_v1.0.pdf Helped, but I only saw the method for the command line.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/26/12 02:03 PM (13 years ago)
You can actually create the release keystore during the export process. There's an option to create a new key. Have you tried that?
 
Abidemi11
Lost but trying
Profile
Posts: 17
Reg: Sep 05, 2012
Jacksonville
2,920
like
09/26/12 02:20 PM (13 years ago)
Yes I've created a release.keystore, but I didn't know about the certificate. I had to make a new one using my current keystore, which was a new trick to me. Nonetheless you helped me a ton, I have my google API key :D by the way how do I save that certificate? May have to keep eclipse running all night. haha
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
09/26/12 07:03 PM (13 years ago)
So, if you've created the release.keystore, that's a file, and you'll use it to sign your apps for release. In order for maps to work, you have to sign the app with the SAME keystore you used to generate the Google Maps API Key. For the API Key, just save it in a text file for future use. The MD5 fingerprint of your release.keystore will ALWAYS be the same. But, a different keystore will have a different MD5 fingerprint, and will generate a different Maps API key. If you have the Keytool Plugin installed in Eclipse, you can easily retrieve the MD5 fingerprint of any keystore (release or debug), and use it to generate the Maps API key again. Make sense? Mark
 
Abidemi11
Lost but trying
Profile
Posts: 17
Reg: Sep 05, 2012
Jacksonville
2,920
like
09/27/12 06:16 AM (13 years ago)
I got it, thank you so much!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.