Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
281 views
in Technique[技术] by (71.8m points)

android, google map errors: BaseTileRequest, Server returned: 3

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)
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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 :

Long story :

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.

Short story :

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...