• Get in touch:

Get SHA1 Fingerprint for Debug in Android

The Maps API key is based on a short form of your application’s digital certificate, known as its SHA-1 fingerprint. The fingerprint is a unique text string generated from the commonly-used SHA-1 hashing algorithm. Because the fingerprint is itself unique, Google Maps uses it as a way to identify your application.

To setting up Google Maps Android API V2 you need to get API key and register your project to Google APIs Console. For development process you need debug API key to make the map works. To get this API key you need to get SHA1 code first.

There are 2 ways to get SHA1 for debug:

  • Open command prompt and type the following code and you will see your SHA1 code as shown on Figure 1. If you get “keytool in not recognized….” you can read Add Java Path article.
keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
Figure 1: SHA1 Keytool

Figure 1: SHA1 Keytool

  • Or open your eclipse, click Window > Preferences On window preferences select Android on the left side, extend it and click build. You can get SHA1 code in right as shown on Figure 2.
Figure 2: Preferences Window

Figure 2: Preferences Window

2 Comments
  1. pooja December 17, 2015 at 11:32 am

    cann’t help. doesnt get sha1 key

  2. Arbel January 24, 2016 at 7:20 pm

    Works for me, thank you very much!

Leave a Comment