我已經創建了自己的Keystore
,並得到了MD5 Certification Fingerprint Key
,我寫了下面的命令:如何獲得MD5認證指紋
C:\Users\XX\.android>keytool -list -alias mykey -keystore mykey.keystore
,並返回
mykey, 16 Jul, 2012, PrivateKeyEntry,
Certificate fingerprint (SHA1): 40:6A:97:77:FE:25:55:25:03:D2:8E:93:FD:74:21:A7:52:XX:YY:ZZ
,而我一直在尋找MD5鍵,因爲每當我試圖獲得GoogleMap Api
密鑰使用它說:
The fingerprint that you entered is not valid.
請幫我拿到MD5 key
。 另外如果可能的話簡要描述這兩種鍵的區別是什麼
謝謝。
要獲得MD5鍵按照此[鏈接](https://developers.google.com/android/maps-api-signup) 。在這個鏈接中,您必須粘貼您在問題中提到的證書指紋,才能獲取Google地圖的MD5密鑰。選中這個[link](http://www.icodeya.com/2011/04/how-to-get-your-md5-fingerprint-for.html)以獲得使用eclipse key的認證密鑰。這很容易。 – 2012-07-16 12:44:56
是的,我試過這個,但是當我嘗試生成密鑰時它說:「您輸入的指紋無效,請按瀏覽器上的返回按鈕並輸入有效的證書指紋。」 – Rajhrita 2012-07-16 12:47:40
@ user819628:檢查我更新的答案。 – 2012-07-16 12:52:26