Open the command
prompt and
follow the steps
C:\Mukesh\Android-Sdk\tools>keytool
-genkey -v -keystore projectkey.keystore -alias aliasname
-keyalg RSA -keysize 2048 -validity
15000
Enter keystore
password: ------------
What is your
first and last name?
[Unknown]:
------------
What is the name
of your organizational unit?
[Unknown]:
------------
What is the name
of your organization?
[Unknown]:
------------
What is the name
of your City or Locality?
[Unknown]:
------------
What is the name
of your State or Province?
[Unknown]:
------------
What is the
two-letter country code for this unit?
[Unknown]:
------------
Is CN=mukesh, OU=zss, O=zss, L=delhi, ST=delhi, C=dl
correct?
[no]: yes
Generating 2,048 bit RSA key pair and self-signed
certificate
(SHA1withRSA) with a
validity of 15,000 days
for: CN=CN,
OU=OU, O=O, L=L, ST=ST, C=C
Enter key password for <aliasname>
(RETURN if
same as keystore password): ------------
Re-enter new password: ------------
[Storing projectkey.keystore]
C:\Mukesh\Android-Sdk\tools>keytool
-list -alias aliasname -keystore
projectkey.keystore
Enter keystore
password:aliasname,
Jul 22, 2012, PrivateKeyEntry,
Certificate
fingerprint (MD5):
A2:69:37:23:5B:27:68:B0:B7:5E:C1:61:08:04:F8:C0
Using your
Certificate fingerprint
(MD5) get google api key from this site
Mukesh Kumar
Hi Guys I am from Delhi working as Web/Mobile Application Developer(Android Developer), also have knowledge of Roboelctric and Mockito ,android test driven development... Blogging has been my passion and I think blogging is one of the powerful medium to share knowledge and ideas....
Thanks a lot...
ReplyDelete