-3

I get many tutorial for generate SHA-1 fingerprint (in general not just for maps) , but I want know whats the best way & what difference between this ways .

First way (keytool)

keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android 

Or by mention userprofile

keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android 

Second way (From Eclipse )

Window > Preferences > Android > Build enter image description here

Thank you in advance & sorry for disturb

3
  • I'm pretty sure eclipse uses the same command line. Commented Dec 16, 2014 at 9:59
  • Both give me the same result , but now one mention this way why ? it easier than write command Commented Dec 16, 2014 at 10:01
  • Well, using a GUI is less tedious than using the command line I guess... At least for some people. Commented Dec 16, 2014 at 10:02

1 Answer 1

1

Try like this

first you can download and instal openssl and jdk file.

  1. open command prompt and copy and paste jdk file path like this

     C:\Program Files\Java\jdk1.6.0_37\bin> 
  2. Next Go to C:>User folder>Select (User name) folder> .android folder is there open that folder and copy the link (or) type the text line like this

    keytool -list -v -keystore "C:\Users(user name).android\debug.keystore"

    C:\Program Files\Java\jdk1.6.0_37\bin>keytool -list -v -keystore "C:\Users(user name).android\debug.keystore"

    Enter keystore password: android

and click enter list out the sha1 and md5 keys.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.