I'm trying to sign up for Android Google Maps and which requests MD5 fingerprint. How to get the fingerprint out of my application??
I'm newbie to keystore and couldn't understand a thing i find online. so simple instructions appreciated
Thanks in advance
Anyone coming here looking for the
MD5 or SHA1 for the YouTube OAuthAPI this is the command:
This cmd:
The default password for the debug.keystore is android
Taken from
YouTube API
You will be needing two keystores.
One for debug purpose and One for release purpose.
While you are developing your application via eclipse and debugging it on simulator or device. You will be needing debug keystores. Otherwise you will not be able to see the map. debug keystore is already present into your system.
Try finding them at
Open console/terminal on to the above location where debug.keystore file is present and execute
Output will be like (press simply enter when password is asked)
Copy this MD5 fingerprint value and go to
http://code.google.com/android/maps-api-signup.html
You will get Map Keys On successful signup. Put those in the MapView Element of your view.
For release
You need to generate your own keystore and need to get Map keys for the same. else you will not be able to see map on deployment of your apk onto the device.
Create a new keystore of your own and follow the same procedure for the generated keystore. Its very easy to generate keystore also. I simply export my android application via eclipse and it then do everything by itself.
Hope it helps :)
http://code.google.com/android/add-ons/google-apis/mapkey.html#getfingerprint
If you follow this correctly, you should be able to get your MD5 fingerprint. There are instructions to both get your fingerprint at the time of signing as well as afterwards.
If you've signed already: You would first use your command prompt to navigate to your debug keystore in your automatically made profile android folder as described in the link. You would then paste this (without the dollar sign) and run it in your command prompt:
Otherwise, you can use your command prompt to navigate to your jarsigner in your Java SDK folder and use this:
After following the on prompt instructions, you should receive your MD5
2015 Update:
Make sure your are currently in
jdk/bin
in your terminalFor Linux or OS X, open a terminal window and enter the following:
For Windows Vista and Windows 7, run:
If you are successful in above step you will get:
Wow I would have never gotten it with the answers above, had to read a book tutorial which is CLEAR finally!
The filename of the debug keystore is debug.keystore. This is the certifi cate that Eclipse uses to sign your application so that it may be run on the Android Emulator or devices. Using the debug keystore, you need to extract its MD5 fi ngerprint using the Keytool.exe application included with your JDK installation. This fi ngerprint is needed to apply for the free Google Maps key.
You can usually find the Keytool.exe in the C:\Program Files\Java\\bin folder.
Issue the following command (see Figure 9-4) to extract the MD5 fi ngerprint: keytool.exe -list -alias androiddebugkey -keystore “C:\Users\.android\debug.keystore” -storepass android -keypass android
For Windows Users: If you have problems, make sure there are no other debug.keystore files around. I followed the instructions, but only managed to get it to work when I discovered my Eclipse installation was using a different debug.keystore located here:
android-sdk-windows.android
(not the one in my Windows User directory)