0

我在 中创建了简单的MapView示例android,但它没有在模拟器中显示任何内容

Logcat 数据是:

01-30 10:24:53.976: W/System.err(1033): IOException processing: 26
01-30 10:24:53.983: W/System.err(1033): java.io.IOException: Server returned: 3
01-30 10:24:54.003: W/System.err(1033):     at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115)
01-30 10:24:54.020: W/System.err(1033):     at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473)
01-30 10:24:54.022: W/System.err(1033):     at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117)
01-30 10:24:54.022: W/System.err(1033):     at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994)
01-30 10:24:54.022: W/System.err(1033):     at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702)
01-30 10:24:54.032: W/System.err(1033):     at java.lang.Thread.run(Thread.java:856)
01-30 10:24:54.263: W/Trace(1033): Unexpected value from nativeGetEnabledTags: 0
01-30 10:24:54.263: W/Trace(1033): Unexpected value from nativeGetEnabledTags: 0
01-30 10:24:54.343: W/Trace(1033): Unexpected value from nativeGetEnabledTags: 0
4

1 回答 1

0

我认为地图 API 密钥是错误的。尝试重新生成密钥:

https://developers.google.com/maps/documentation/android/v1/mapkey

于 2013-01-30T10:45:00.153 回答