title: Google Map not display on the Mobile Screen in Android
body: <p>My error shows Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors). But wifi is working on phone. I have generated API Key of same application.</p>
  
  <p>//MainActivity code is below:</p>
  
  <pre><code>public class MainActivity extends Activity {
  
      private GoogleMap map;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);   
          map = ((MapFragment)getFragmentManager().findFragmentById(R.id.map)).getMap();
      }
  }
  </code></pre>
  
  <p>//activity_main.xml code is below :</p>
  
  <pre><code>&lt;fragment
          android:id="@+id/map"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:name="com.google.android.gms.maps.MapFragment"/&gt;
  </code></pre>
  
  <p>//Menifest code is Below :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.gpslocator2222"
      android:versionCode="1"
      android:versionName="1.0" &gt;
      &lt;uses-permission android:name="com.example.gpslocator2222.permission.MAPS_RECEIVE" /&gt;
      &lt;uses-sdk
          android:minSdkVersion="17"
          android:targetSdkVersion="19" /&gt;
      &lt;!-- permission  --&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&gt;
      &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
      &lt;uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /&gt;
      &lt;permission
        android:name="com.example.gpslocator2222.permission.MAPS_RECEIVE"
        android:protectionLevel="signature" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/&gt;
       &lt;uses-feature
        android:glEsVersion="0x00020000"
        android:required="true" /&gt;
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name=".MainActivity"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;!--Google MAP API key--&gt;
          &lt;meta-data android:name="com.google.android.gms.version"
              android:value="@integer/google_play_services_version"/&gt;
          &lt;meta-data
             android:name="com.google.android.maps.v2.API_KEY"
             android:value="xxxxxx"/&gt;         
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>