Android和谷歌地图的奇怪错误 [英] Android and strange error with maps from google

查看:129
本文介绍了Android和谷歌地图的奇怪错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用谷歌地图创建应用程序。我得到错误:

I create application where I use google maps. I get error:

06-20 15:23:51.262: W/System.err(28660): java.io.IOException: Server returned: 3
06-20 15:23:51.272: W/System.err(28660):    at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115)
06-20 15:23:51.272: W/System.err(28660):    at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473)
06-20 15:23:51.272: W/System.err(28660):    at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117)
06-20 15:23:51.272: W/System.err(28660):    at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994)
06-20 15:23:51.272: W/System.err(28660):    at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702)
06-20 15:23:51.272: W/System.err(28660):    at java.lang.Thread.run(Thread.java:1019)

你能告诉我这个错误是什么原因吗?

Could you tell me what is a reason this error?

推荐答案

您的map api key是问题......,为您的apk使用与创建apk相同的keystore生成正确的map key。要检查模拟器为您的SDK创建api密钥。

Your map api key is the issue..., generate correct map key for your apk with the same keystore you are using to create apk. To check in the emulator create api key for your SDK.

请参阅以下链接: http://mobiforge.com/developing/story/using-google-maps-android

新的Debug Keystore是否意味着一个新的Map API密钥?

这篇关于Android和谷歌地图的奇怪错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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