天杀的android官方文档——mapview只显示网格的问题

来源:互联网 发布:警务通软件下载 编辑:程序博客网 时间:2024/05/11 16:10

天杀的android官方文档——mapview只显示网格的问题,


后台报:Couldn't get connection factory client

找了无数的资料,这人好像是android的开发人员,龟儿子也说是因为key不对。

Dmitry Moskalchuk       
当地时间:2010年12月27日(星期一) 下午9时10分
主题:Re: [rhomobile] The map only show grid not any map information on Android emulator
We have many such reports and in all cases it was wrong API key. Please
follow _strictly_ procedure of retrieving API key from Google - in case
if key is wrong Maps API does not return any error and even does not
report about that in log - it just draw gray grid. 

http://groups.google.com/group/rhomobile/browse_thread/thread/2fffd180a08a0671



key按官网文档申请的,why不对,why!why!

通过找资料发现,android的文档,不及时更新,而且有错不改,

keystore官网说是这个地方,而我电脑上正确的keystone根本不在这个位置,写这个文档的人真该死。


To generate an MD5 fingerprint of the debug certificate, first locate thedebug keystore. By default, build tools create the debug keystore in theactive AVD directory. The location of the AVD directories varies byplatform:

  • Windows Vista: C:\Users\<user>\.android\debug.keystore
  • Windows XP: C:\Documents and Settings\<user>\.android\debug.keystore
  • OS X and Linux: ~/.android/debug.keystore

http://code.google.com/intl/zh-CN/android/add-ons/google-apis/mapkey.html#getdebugfingerprint

正确的路径是windows->preferences 搜build,android->bulid:default debug keystore所指的路径。

我的是:D:\android-sdk-windows\.android\debug.keystore


(原创文章,转载请注明出处,http://blog.csdn.net/pinklpig/article/details/6721507)