when i try to get the MD5 fingerprint using keytool
, I get a SHA1 fingerprint instead and the google maps doesnt recognize it. How do I get the MD5 fingerprint?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
Use JDK version 1.6 instead of 1.7 because 1.7 generates the fingerprint with SHA1 by default. or you can use (-v) option of the keytool to give you all supported algorithms output and you will find the MD5 in it. for examble : keytool -v -list -keystore [your keystore path] and then enter the password which is [android] by default (you can get the keystore path from Eclipse window>Prefs>Android>build).
Sincerely, DigitalFox
The easiest, full prove and permanent way to get MD5 or SHA1 or SHA256 is as follows_
cmd
in RunDailog panel then click ok.debug.keystore
file resides e.g.,C:\Users\Admin\.android
path of my debug.keystore file.Run the following command
C:\<PATH OF YOUR DEBUG.KEYSTORE FILE>>keytool -list -v -alias androiddebugkey -keystore debug.keystore -keypass android -storepass android
e.g., C:\Users\Admin.android>keytool -list -v -alias androiddebugkey -keystore debug.keystore -keypass android -storepass android
output_
Alias name: androiddebugkey Creation date: Sep 20, 2013 Entry type: PrivateKeyEntry Certificate chain length: 1 Certificate[1]: Owner: CN=Android Debug, O=Android, C=US Issuer: CN=Android Debug, O=Android, C=US Serial number: 39ea2d1c Valid from: Fri Sep 20 10:55:39 IST 2013 until: Sun Sep 13 10:55:39 IST 2043 Certificate fingerprints:
D7:DE:0E:55:82:1B:21:9F:62:97:4E Signature algorithm name: SHA256withRSA Version: 3
I hope this will help to everyone!
Try this one in cmd:
First go on this path : C:\Program Files\Java\jdk1.6.0_33\bin
then
Type this command..
C:\Program Files\Java\jdk1.6.0_33\bin > keytool.exe -list -alias androiddebugkey -keystore c:\Users\Mitul.android\debug.keystore -keypass android -storepass android
The blow code will work! try this to get md5 key
C:\Program Files\Java\jdk1.6.0_23\bin>keytool.exe -list -alias androiddebugkey - keystore "c:\Users\Administrator.android\debug.keystore" -storepass android -ke ypass android
instead of path & users administrator give your own
just export your app in eclipse and the MD5 + SHA1 will be displayed in the window. (just before "finish")
Consider your
jdk-bin
path in the first path place and your home user directory in the second path. Forwindows 7
it is like"C:\Users\username.android\debug.keystore"
Use the above command you will get all the keys.
for more details go through this androidgoogle-maps-api-key-signup-md5-certification-key