title: Google Map Load Issue
body: <p>I am working on integrating google maps in a small app. My <code>AndroidManifest.xml</code> is</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.mymaps"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  &lt;permission
          android:name="com.example.mymaps.permission.MAPS_RECEIVE"
          android:protectionLevel="signature" /&gt;
      &lt;uses-sdk
          android:minSdkVersion="11"
          android:targetSdkVersion="18" /&gt;
   &lt;uses-permission 
       android:name="info.androidhive.googlemapsv2.permission.MAPS_RECEIVE" /&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="com.google.android.providers.gsf.permission.READ_GSERVICES" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt; 
      &lt;!-- Required to show current location --&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
   
      &lt;!-- Required OpenGL ES 2.0. for Maps V2 --&gt;
      &lt;uses-feature android:glEsVersion="0x00020000"/&gt;
      &lt;uses-feature 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="com.example.mymaps.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;meta-data
       android:name="com.google.android.maps.v2.API_KEY"
       android:value="MyKey" /&gt;
      &lt;/application&gt;    
  &lt;/manifest&gt;
  </code></pre>
  
  <p>And my Main Activity is </p>
  
  <pre><code>public class MainActivity extends Activity implements OnClickListener {
      TextView lat,lng;
      Button getCds,getMap;
      private GoogleMap googleMap;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          initializeVars();
      }
  
      private void initializeVars() {
          // TODO Auto-generated method stub
          getCds = (Button)findViewById(R.id.bGC);
          getMap = (Button)findViewById(R.id.bGM);
          lat = (TextView)findViewById(R.id.TextView2);
          lng = (TextView)findViewById(R.id.TextView4);
          getCds.setOnClickListener(this);
          getMap.setOnClickListener(this);
          try {
              // Loading map
              initilizeMap(); 
          } catch (Exception e) {
              e.printStackTrace();
          }
      }
  
      private void initilizeMap() {
          if (googleMap == null) {
              googleMap = ((MapFragment) getFragmentManager().findFragmentById(
                      R.id.map)).getMap();
  
              // check if map is created successfully or not
              if (googleMap == null) {
                  Toast.makeText(getApplicationContext(),
                          "Sorry! unable to create maps", Toast.LENGTH_SHORT)
                          .show();
              }
          }
      }
  
      @Override
      protected void onResume() {
          super.onResume();
          initilizeMap();
      }
  
      public void onClick(View v) {
          Log.d("Debugging", "I am in onCLick");
          switch (v.getId()) {
  
          case R.id.bGC:
          {
              Log.d("Debugging", "I am in case R.id.bGC");
              lat.setText("My Lat");
              lng.setText("My Long");
              break;
          }
  
          case R.id.bGM:
          {
              Log.d("Debugging", "I am in case R.id.bGM");
              lat.setText("blank");
              lng.setText("blank");
              break;
          }
          }
      }
  }
  </code></pre>
  
  <p>When I Load the application I am getting the below error.</p>
  
  <pre><code>01-17 14:01:49.054: E/Google Maps Android API(2832): Authorization failure.  Please see https://developers.google.com/maps/documentation/android/start for how to correctly set up the map.
  01-17 14:01:49.064: E/Google Maps Android API(2832): Ensure that the following correspond to what is in the API Console: Package Name: com.example.mymaps, API Key: MyKey, Certificate Fingerprint: SomeValue
  01-17 14:01:49.064: I/Google Maps Android API(2832): Failed to contact Google servers. Another attempt will be made when connectivity is established.
  01-17 14:01:59.234: D/dalvikvm(2832): GC_CONCURRENT freed 572K, 9% free 7576K/8263K, paused 6ms+3ms
  01-17 14:02:04.304: E/Google Maps Android API(2832): Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors).
  </code></pre>
  
  <p>Guys to give a little more perspective. The same code used to work before (probably 3-4 months back). It somehow doesn't seem to be working anymore. I am not sure what is causing the same.</p>
  
  <p>Can you please advise how to debug the same?</p>