When we using Google Map API for our android map project, we have to obtain a single Maps API key.That key is valid for every apps signed by a single certificate. So to obtain Maps API key we should provide certificate’s fingerprint.
Obtain certificate’s fingerprint in Windows 7
- First go to C:\Users\username\.android directory there is file called debug.keystore we are going to use this file to generate certificate’s fingerprint.
- Open command prompt and enter following command on that
keytool.exe -list -alias androiddebugkey -keystore "C:\Users\yourusername\.android\debug.keystore" -storepass android -keypass android
Obtain certificate’s fingerprint in Mac OSX or Linux
- In Linux or Mac OSX debug.keystore is in ~/.android directory
- Open terminal and enter following command on that
keytool -list -keystore ~/.android/debug.keystore
Then it will give certificate fingerprint like following
12:50:7F:C0:10:F0:A7:24:13:49:BF:42:76:76:38:83After all go to the following site for obtaining Map API key