申请google Map API key

1)    运行Eclipse,打开Preferences对话框,在Android -> build中可以看到Keystore的存放路径:例如:C:\Users\XXX\.android\debug.keystore

2)    运行 cmd , 敲入 keytool -list -v -alias androiddebugkey -keystore "C:\Users\XXX\.android\debug.keystore" -storepass android -keypass android

p.s. 尤其记得加上-v 要不然下面会报错 “The fingerprint you entered is not valid. Please press the Back button on yo”

http://stackoverflow.com/questions/5102219/to-display-the-google-map-on-the-emmulator

 

回车从众多信息中选出:MD5 finger print

 

3)  打开 http://code.google.com/intl/zh-CN/android/maps-api-signup.html , 输入 MD5 码, 点击 Generate API Key

 

4)   在页面中即可获得 Google Map API Key 

 

(没有遇到) 
如果 debug.keystore 过期,需要进行以下操作:
删除.android 目录中的 debug.keystore 文件,用eclipse run android application 会生成新的keystore

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值