title: Google Maps API v2 grey screen
body: <p>I'm trying to create and application that connects with Google maps. But when the screen loads where the map should be its just grey. How do I fix this?</p>
  
  <p>The important message from my logcat.</p>
  
  <pre><code>06-11 03:32:55.196: E/Google Maps Android API(11671): 
  Ensure that the following correspond to what is in the API Console: Package Name: my pacakage,
   API Key: my key, 
  Certificate Fingerprint: my fingerprint
  </code></pre>
  
  <p>The Activity</p>
  
  <pre><code>import android.os.Bundle;
  import android.view.Menu;
  
  import android.support.v4.app.FragmentActivity;
  
  public class mapPage extends FragmentActivity {
  
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.map_page);
      }
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu; this adds items to the action bar if it is present.
          getMenuInflater().inflate(R.menu.main, menu);
          return true;
      }
  
  }
  </code></pre>
  
  <p>Manifest</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="my package"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="17" /&gt;
      &lt;permission
      android:name="my package.permission.MAPS_RECEIVE"
      android:protectionLevel="signature"/&gt;
    &lt;uses-permission android:name="my package.permission.MAPS_RECEIVE"/&gt;
    &lt;!-- Copied from Google Maps Library/AndroidManifest.xml. --&gt;
    &lt;uses-sdk
      android:minSdkVersion="8"
      android:targetSdkVersion="16"/&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;!-- External storage for caching. --&gt;
    &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
    &lt;!-- My 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;!-- Maps API needs OpenGL ES 2.0. --&gt;
    &lt;uses-feature
      android:glEsVersion="0x00020000"
      android:required="true"/&gt;
    &lt;!-- End of copy. --&gt;
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
  
           &lt;meta-data
        android:name="com.google.android.maps.v2.API_KEY"
        android:value="my key"/&gt;
  
          &lt;activity
              android:name="my package.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;activity android:name=".main"&gt;
                 &lt;/activity&gt;
  
           &lt;activity android:name=".mapPage"&gt;
                &lt;/activity&gt;
  
           &lt;activity android:name=".ThirdPartyWeb"
            android:theme="@android:style/Theme.Dialog"&gt;  
  
                &lt;/activity&gt;
  
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>The layout</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent" &gt;
  
    &lt;fragment xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/map"
          android:layout_alignParentTop="true"
          android:layout_centerInParent="true"
          android:layout_height="250dp"
          android:layout_width="fill_parent"
    class="com.google.android.gms.maps.SupportMapFragment"/&gt;
  
      &lt;ImageView 
          android:layout_alignParentTop="true"
          android:layout_centerInParent="true"
          android:layout_height="50dp"
          android:layout_width="fill_parent"
          android:background="@color/darkGrey"/&gt;
  
          &lt;Button 
          android:layout_alignParentTop="true"
          android:layout_marginTop="10dp"
          android:layout_alignParentLeft="true"
          android:id="@+id/menuButton"
          android:background="@drawable/icon_menu"
          android:layout_height="30dp"
          android:layout_width="30dp"/&gt;
  
           &lt;Button 
          android:layout_alignParentTop="true"
          android:layout_marginTop="10dp"
          android:layout_toRightOf="@+id/menuButton"
          android:layout_marginLeft="20dp"
          android:id="@+id/"
          android:background="@drawable/icon_off"
          android:layout_height="35dp"
          android:layout_width="55dp"/&gt;
  
         &lt;EditText          
          android:layout_alignParentTop="true"
          android:layout_width="wrap_content"
          android:layout_marginTop="10dp"
          android:layout_toRightOf="@+id/"
          android:layout_marginLeft="20dp"
          android:layout_toEndOf="@+id/"
          android:id="@+id/seachBox"
          android:hint="@string/search"
          android:layout_height="35dp"
          android:layout_alignParentEnd="true"
          android:background="@color/white"/&gt;
  
         &lt;Button 
          android:layout_alignParentTop="true"
          android:layout_alignParentRight="true"
          android:layout_marginTop="10dp"
          android:id="@+id/searchButton"
          android:background="@drawable/graphic_search"
          android:layout_height="35dp"
          android:layout_width="20dp"/&gt;
  
         &lt;ImageView 
          android:layout_above="@+id/newsFeed"
          android:layout_centerInParent="true"
          android:layout_height="35dp"
          android:layout_width="fill_parent"
          android:background="@color/darkGrey"/&gt;
  
         &lt;TextView 
             android:layout_alignParentLeft="true"
             android:layout_height="wrap_content"
             android:layout_width="wrap_content"
             android:layout_above="@+id/newsFeed"
             android:layout_marginBottom="11dp"
             android:textColor="@color/white"
             android:text="@string/news_feed"
              android:textAppearance="?android:attr/textAppearanceSmall"/&gt;
  
          &lt;ListView 
             android:layout_alignParentBottom="true"
             android:id="@+id/newsFeed"
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"&gt;"
  
         &lt;/ListView&gt;
  
  
  
  &lt;/RelativeLayout&gt;
  </code></pre>