android,谷歌地图错误:BaseTileRequest,服务器返回:3 [英] android, google map errors: BaseTileRequest, Server returned: 3

查看:35
本文介绍了android,谷歌地图错误:BaseTileRequest,服务器返回:3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在开发一些自定义地图叠加层时遇到了一些奇怪的错误,有人遇到过吗?请帮助,提前 tks.

I got some strange errors while develop some custom map overlays, anyone experience these? pls help, tks in advance.

BaseTileRequest.readResponseData(BaseTileRequest.java:115)
MapService$MapTileRequest.readResponseData(MapService.java:1473)
MapService$MapTileRequest.readResponseData(MapService.java:1473)

09-17 00:53:25.933: WARN/System.err(32480): java.io.IOException: Server returned: 3
09-17 00:53:25.933: WARN/System.err(32480): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115)
09-17 00:53:25.938: WARN/System.err(32480): at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473)
09-17 00:53:25.938: WARN/System.err(32480): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117)
09-17 00:53:25.943: WARN/System.err(32480): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994)
09-17 00:53:25.943: WARN/System.err(32480): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702)
09-17 00:53:25.948: WARN/System.err(32480): at java.lang.Thread.run(Thread.java:856)

推荐答案

我确实遇到了这个问题,尽管我遵循了所有内容 这里.

I did run into this even though I followed everything said here.

假设您确实点击了此链接,以下是我解决问题的方法:

Assuming that you did follow this link, here's how I solved the issue :

长话:

一切正常,直到我将整个项目复制到另一台 PC 上并将其导入 Eclipse.这会改变一切,因为您获得的 API 密钥已链接到您用来生成 API 密钥的机器上的调试密钥库.由于我在另一台机器上运行/调试 android 应用程序(因此是另一个调试密钥库),API 密钥无效.所以我必须生成一个新的 API 密钥,如下所述.

Everything was working fine until I copied the whole project on another PC and imported it into Eclipse. This changes everything, because the API key you obtain is linked to the debug keystore on the machine that you used to generate the API key. Since I was running / debugging the android application on another machine (hence another debug keystore), the API key was invalid. So I had to generate a new API key as described below.

小故事:

如果您使用另一台机器,生成新的 API 密钥,通过计算 MD5 指纹,如此处,然后使用此 MD5 在此处生成 API 密钥指纹.

If you are using another machine , generate a new API key, by computing the MD5 fingerprint as described here, and then generate the API key here using this MD5 fingerprint.

这篇关于android,谷歌地图错误:BaseTileRequest,服务器返回:3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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