无效的地图android maps api指纹 [英] invalid maps android maps api fingerprint

查看:56
本文介绍了无效的地图android maps api指纹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照获取地图调试键的说明进行操作,但收到一条错误消息,提示我输入的指纹无效.我在命令提示符下输入了以下内容:

I followed the instructions for getting a maps debug key but got an error saying that the fingerprint I entered was invalid. I entered the following in command prompt:

C:\Users\Teererai>keytool -list -alias androiddebugkey -keystore C:\Users\Teerer
ai\.android\debug.keystore -storepass android -keypass android

并获得以下输出:

androiddebugkey,2012年6月20日,PrivateKeyEntry,证书指纹(SHA1):75:BD:38:52:6D:03:83:E6:34:F0:3C:88:72:6F:C3:E2:38:8A:C9:96

androiddebugkey, Jun 20, 2012, PrivateKeyEntry, Certificate fingerprint (SHA1): 75:BD:38:52:6D:03:83:E6:34:F0:3C:88:72:6F:C3:E2: 38:8A:C9:96

但是,当我尝试将其复制并粘贴到注册站点时,收到一条消息,指出我输入的指纹无效.我做错了什么吗?请帮忙.

But when I tried copying and pasting it into the registration site, I got a message stating that the fingerprint I entered was invalid. Is there something I've done wrong? Please help.

推荐答案

为使Maps api工作,您需要MD5指纹而不是SHA1指纹.为了获得MD5,需要在命令中添加-v选项.请参阅如何我从Java的键盘工具中获得了MD5指纹,而不仅仅是SHA-1?

In order for maps api to work you need MD5 fingerprint instead of SHA1. in order to get the MD5 one you need to add the -v option to the command. Please see How can I get the MD5 fingerprint from Java's keytool, not only SHA-1?

这篇关于无效的地图android maps api指纹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆