可能重复:
无法获取连接工厂客户端 - 与谷歌地图打架
我的地图视图有问题。我为我的应用程序创建了一个新的密钥库,并获得了正确的 google maps api 密钥,并且我的应用程序使用我的密钥库进行了签名。但是地图视图不起作用。我正在阅读很多关于它的帖子,但我无法解决它
我有一些错误:
07-20 18:16:49.066: I/MapActivity(9106): Handling network change notification:CONNECTED
07-20 18:16:49.066: E/MapActivity(9106): Couldn't get connection factory client
07-20 18:16:49.276: W/System.err(9106): IOException processing: 26
07-20 18:16:49.286: W/System.err(9106): java.io.IOException: Server returned: 3
07-20 18:16:49.296: W/System.err(9106): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115)
07-20 18:16:49.296: W/System.err(9106): at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473)
07-20 18:16:49.296: W/System.err(9106): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117)
07-20 18:16:49.296: W/System.err(9106): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994)
07-20 18:16:49.296: W/System.err(9106): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702)
07-20 18:16:49.296: W/System.err(9106): at java.lang.Thread.run(Thread.java:856)
其他时间出现相同的错误,但没有出现以下行:
无法获取连接工厂客户端 07-20 18:16:49.276:
我的 mapview.xml:
<com.google.android.maps.MapView
android:id="@+id/mapa"
style="@style/mapView"
android:layout_width="fill_parent"
android:layout_height="200dip"
android:apiKey="@string/apikey"
android:clickable="true" >
</com.google.android.maps.MapView>
显化
..............................
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:icon="@drawable/icon"
android:label="@string/app_name"
>
<uses-library android:name="com.google.android.maps" />
..............................
我正在疯狂寻找解决方案,将不胜感激!
提前致谢!