title: Google Maps Android V2 - Blank Screen
body: <p>I am implementing google maps for android. I created a test application and inserted all the permissions etc in that application and the application worked flawlessly.</p>
  
  <p>But when I try and copy the same code to my real application it shows me blank screen on the android activity.Although I've updated the package name in the <code>google api console</code>.</p>
  
  <p>Here's what my Test Project Manifest Looks Like :</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.mapstutorial"
  android:versionCode="1"
  android:versionName="1.0" &gt;
  
  &lt;uses-sdk
      android:minSdkVersion="8"
      android:targetSdkVersion="17" /&gt;
  
  &lt;permission
      android:name="com.example.mapstutorial.permission.MAPS_RECEIVE"
      android:protectionLevel="signature"/&gt;
  &lt;uses-permission android:name="com.example.mapstutorial.permission.MAPS_RECEIVE"/&gt;
  &lt;uses-permission android:name="android.permission.INTERNET"/&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&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;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;uses-library android:name="com.google.android.maps" /&gt;
      &lt;meta-data
  android:name="com.google.android.maps.v2.API_KEY"
  android:value="my api key"/&gt;
  
      &lt;activity
          android:name="com.example.mapstutorial.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;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>and here's what my real project manifest looks like :</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.shop.shoppinglist"
  android:versionCode="1"
  android:versionName="1.0" &gt;
  
  &lt;uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17" /&gt;
  
  &lt;permission      android:name="com.shop.addtask.permission.MAPS_RECEIVE" android:protectionLevel="signature"/&gt;
  &lt;permission      android:name="com.shop.shoppinglist.permission.C2D_MESSAGE"    android:protectionLevel="signature" /&gt;
  
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&gt;
  &lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt;
  &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
  
  &lt;uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/&gt;
  &lt;uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /&gt;
  &lt;uses-permission android:name="com.shop.addtask.permission.MAPS_RECEIVE"/&gt;
  &lt;uses-permission android:name="com.shop.shoppinglist.permission.C2D_MESSAGE" /&gt;
  
  &lt;uses-feature
      android:glEsVersion="0x00020000"
      android:required="true"/&gt;
  
  &lt;application
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:allowBackup="true"
      android:theme="@style/AppTheme" &gt;
  
      &lt;uses-library android:name="com.google.android.maps"/&gt;
      &lt;meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="my api key"/&gt;
  
      &lt;activity
          android:name=".Login_Activity"
          android:label="@string/title_activity_main" 
          android:theme="@style/Theme.Sherlock" 
          android:screenOrientation="portrait" &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;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>I updated the package name to <code>com.shop.addtask</code> in my console fingerprint but still it shows me the white screen.What could cause the problem ? The <code>apikey</code> I've used is same in both of the applications. But it works on <code>test application</code> not on the <code>real app</code>.</p>
  
  <ul>
  <li>I've created the api key using the fingerprint</li>
  <li>I've switched <code>on</code> google maps android v2 in the console</li>
  <li>I am using the same api key as mentioned in the console.</li>
  </ul>
  
  <p>So these things are correct and the problem cannot be caused by one of them.</p>