我正在我的应用程序中集成谷歌地图。为了在实际设备中运行应用程序,我需要一个发布密钥。我使用这些步骤生成发布密钥 1:右键单击项目 => 导出 => 创建新的密钥库 2:右键单击项目 => 使用现有密钥库导出 => 给出我刚刚在步骤 1 中创建的密钥库的路径 3:注册使用我的 md5
当我将释放键粘贴到我的mapView
未显示的瓷砖中时。我收到了这个错误
02-17 00:20:36.848: W/System.err(953): IOException processing: 26
02-17 00:20:36.848: W/System.err(953): java.io.IOException: Server returned: 3
02-17 00:20:36.867: W/System.err(953): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115)
02-17 00:20:36.867: W/System.err(953): at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473)
02-17 00:20:36.867: W/System.err(953): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117)
02-17 00:20:36.867: W/System.err(953): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994)
02-17 00:20:36.876: W/System.err(953): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702)
02-17 00:20:36.876: W/System.err(953): at java.lang.Thread.run(Thread.java:1019)
02-17 00:20:37.546: W/System.err(953): IOException processing: 26
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.locationmeter"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="5"
android:targetSdkVersion="10" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" />
<application
android:allowBackup="true"
android:debuggable="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.LocationMeter" >
<activity
android:name="com.example.locationmeter.ActivitySplash"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".ActivityMenu" >
</activity>
<activity android:name=".ActivityCurrentLocation" >
</activity>
<activity android:name=".ActivityLiveMap" >
</activity>
<activity android:name=".ActivityPlacesTypes" >
</activity>
<uses-library android:name="com.google.android.maps" />
</application>
</manifest>