learnwhat
learnwhat

Reputation: 177

how i can get MD5 hash in jdk.7.o?

when i try to get MD5 hash by using

C:\Program Files\Java\jre7\bin>keytool -list -alias androiddebugkey -keystore "C:\Users\learnwhat.android\debug.keystore" -storepass android -keypass android

only get SHA1 hash i need MD5 hash to in goole Map api key sing up. how i can get MD5 hash in jdk1.7.0_09?.

Upvotes: 1

Views: 626

Answers (2)

ρяσѕρєя K
ρяσѕρєя K

Reputation: 132992

Add -v with command if you are using jre7 for getting MD5 hash for Google Map. this command return you both MD5 and SHA1 :

 C:\<YOUR_JDK_PATH\bin>keytool -v androiddebugkey -keystore "C:Users\YOUR_NAME\.android
\debug.keystore" -alias alias_name -storepass android -keypass android

Upvotes: 1

ray_linn
ray_linn

Reputation: 1392

using the following command:

keytool -v -list -alias androiddebugkey -keystore debug.keystore

-v will force keytool generate md5, sha1, sha256

Upvotes: 0

Related Questions