Hi!
Some of us facing problem to receive the Google map API key for accessing the Google map in Android.
I have explain below in step by step for Windows users!
- we have to generate the Google API Account,
- In "Services" have to switch on the Google Maps Android API v2
- Create a Client ID for installed applications
- While try to create an Android Key for API Project it will ask SHA1 (Fingerprint),
Do same as what i am going to do for receiving the Finger Print
Method - 1
- Open Your Debug Key Store From Eclipse >> Windows >> Preferences >> Android >> Build >> (Copy Your) Default Debug Key Store
- Open Your keytool path from "C:\Program Files\Java\jdk1.6.0_23\bin\keytool.exe"
- Open Your Windows (Console) CMD.exe
- Now place the below formate to get your Fingerprint
C:\Users\Administrator>"Your keytool path" -list -v -alias androiddebugkey -keystore "Your Debug Key Store" -storepass android -keypass android
ex:
C:\Users\Administrator>"C:\Program Files\Java\jdk1.6.0_23\bin\keytool.exe" -list
-v -alias androiddebugkey -keystore "C:\Users\Administrator\.android\debug.keys
tore" -storepass android -keypass android
now you will receive your Unique Fingerprint like
Certificate fingerprints:
MD5 : 00:00:0:00:00:00:00:00:00:00:00:00:00:00:00:00 SHA1: 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
Signature algorithm name: SHA1withRSA
Method - 2
The another one method is
Step -1
open this java path in your console / cmd (should mention your java version correctly)
C:\Program Files\Java\jdk1.6.0_43\bin>
press enter
Step - 2
the andindir is your local dir / folder name , copy and past the below code and press enter
keytool -list -v -keystore C:\Users\andindir\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android
Process - II - (Release Key)
Step -1
open this java path in your console / cmd (should mention your java version correctly)
C:\Program Files\Java\jdk1.6.0_43\bin>
press enter
Step - 2
the andindir is your local xxxxx.jks located path name & xyxyxyxy is your alias, copy and past the below code and press enter
keytool -list -v -keystore C:\ andindir \xxxxx.jks -alias xyxyxyxy
xxxx\SW\Raj_xxx\xxx_Xxxxxxx\xxxxxxx.jks -alias xyxyxyxy
Enter keystore password:
)
Thank You!
No comments:
Post a Comment