谷歌地图Android版。未能加载映射。无法联系谷歌服务器

谷歌地图Android版。未能加载映射。无法联系谷歌服务器,android,google-maps-android-api-2,Android,Google Maps Android Api 2,我正试图在我的Android上使用谷歌地图,但是地图显示的地方是白色的,我得到了一个错误:加载地图失败。联系谷歌服务器时出错。 我已经听了很多教程和所有关于这个问题的答案,但我仍然无法解决它。我想我有正确的API键Google Maps for Android和权限,但也许我忘了什么,有人可以帮我。我的Android版本是4.1.1。非常感谢 AndroidManifest.xml文件: <?xml version="1.0" encoding="utf-8"?> &

我正试图在我的Android上使用谷歌地图,但是地图显示的地方是白色的,我得到了一个错误:加载地图失败。联系谷歌服务器时出错。 我已经听了很多教程和所有关于这个问题的答案,但我仍然无法解决它。我想我有正确的API键Google Maps for Android和权限,但也许我忘了什么,有人可以帮我。我的Android版本是4.1.1。非常感谢

AndroidManifest.xml文件:

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.example.mapmap"
        android:versionCode="1"
        android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="11"
        android:targetSdkVersion="17"/>

    <uses-feature
        android:glEsVersion="0x00020000"
        android:required="true"/>

    <permission
        android:name="com.example.mapmap.permission.MAPS_RECEIVE"
        android:protectionLevel="signature"/>

    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
        <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="com.android.vending.CHECK_LICENSE" />

        <application
            android:allowBackup="true"
            android:icon="@drawable/ic_launcher"
            android:label="@string/app_name"
            android:theme="@style/AppTheme" >
            <meta-data
        android:name="com.google.android.maps.v2.API_KEY"
            android:value="KEY_FROM_GOOGLE_CONSOLE"/>
            <activity
                android:name="com.example.mapmap.MainActivity"
                android:label="@string/app_name" >
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
        </application>
    </manifest>
试用

  com.google.android.gms.maps.SupportMapFragment
而不是

  com.google.android.gms.maps.MapFragment

如果你忘记了,把你的钥匙放在这里,安卓:value=key
  com.google.android.gms.maps.SupportMapFragment
  com.google.android.gms.maps.MapFragment