Android maps v2 generate SH-1 key (MAC OS)

There are two keys that you can do with this, one the debug and the second for the release key. Basically is the same thing just that the debug key is already made for us and it is used when you run the app from your IDE ..

So to generate the SH-1 key you can do the following:

Open terminal and write down the following commands:

Debug:

keytool -list -v -keystore /Users/your_mac_user_name/.android/debug.keystore -alias androiddebugkey

password: android

Release:

keytool -list -v -keystore path_to_your_key -alias key_alias

password: your_key_password

 

The output for the debug key would be something like this:

Alias name: androiddebugkey
Creation date: Jun 26, 2013
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: 51cacdf4
Valid from: Wed Jun 26 14:18:12 EEST 2013 until: Thu Jun 26 14:18:12 EEST 2014
Certificate fingerprints:
 MD5: 1A:2B:C9:33:77:10:FA:B1:1A:C1:63:F1:49:83:71:E7
 SHA1: AD:2A:82:A6:11:F5:31:13:E6:7B:3E:75:EB:CF:68:78:9E:3C:44:19 -> YOU NEED THIS CODE FOR GOOGLE MAPS V 2
 Signature algorithm name: SHA1withRSA
 Version: 3

This should be all đŸ™‚

Menu