如何解决问题,在获取Android的地图API密钥时发生 [英] How to resolve a problem ,occured while obtaining map api key in android

查看:105
本文介绍了如何解决问题,在获取Android的地图API密钥时发生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨...
要在我们的项目中显示google maps ..我们需要生成api键..
所以我得到了系统的指纹(即MD5)...但是我在Google中输入了MD5来获取我的系统的api密钥,它将msg显示为无效的指纹.现在不知道如何解决. (在我的系统中,我安装了Windows7.)

Hi...
To display google maps in our project.. we need to generate api key..
so i got my system''s fingerprint(i,e MD5)...But wen i entered that MD5 in google to get api key for my System, it displayed msg as invalid fingerprint. now not getting how to resolve. (In my system i installed windows7..)

推荐答案

在使用keytool创建时检查密钥,因为在新版本的keytool中,它会使用SHAI为您提供密钥算法.您必须将算法类型指定为命令行参数才能获取MD5的密钥.
Check the key when you are creating using keytool because in new version of keytool, it gives you the key using SHAI algorithm. You have to specify the type of algorithm as command line argument to get key of MD5.


这篇关于如何解决问题,在获取Android的地图API密钥时发生的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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