Muhammad Nabeel Arif Muhammad Nabeel Arif - 7 months ago 71
Android Question

Keytool generates SHA1 fingerprint instead of MD5?

I want to use Google Maps in my application, I have followed this tutorial to generate MD5 fingerprint of my eventappkey.keystore. But keytool generates SHA1 fingerprint instead of MD5, due to which I am unable to register for Google Api as google accepts MD5 fingerprint of keystore.

Command line snapshop (Window 7)

I have looked at other answers which suggest to use jdk1.6. But is there a better way so that I do not need to move to jdk1.6. Any suggestion would be greatly appreciated.


If you add the -v (verbose) option to your command line, like

keytool -v -list -alias alias_name -keystore my-release-key.keystore

it should show you the MD5 fingerprint