google maps api for android, getting SHA1 cert instead of MD5

前端 未结 5 2074
悲哀的现实
悲哀的现实 2020-12-13 17:01

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?

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-13 17:46

    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

提交回复
热议问题