title: google maps api key not working v2
body: <p>I had an android application that utilizes google maps.
  I have followed the instuctions and made the app working in debug mode using the debug key.
  I have retrieved my SHA-1 key from the debug.keystore found here.</p>
  
  <blockquote>
    <p>c:\Users\myself\.android\debug.keystore</p>
  </blockquote>
  
  <p>using</p>
  
  <blockquote>
    <p>c:\Program Files\Java\jdk1.7.0_03\bin>keytool -list -v -keystore c:\debug.keystore</p>
  </blockquote>
  
  <p>The map was showing fine whenever I used tethered debug by running the app from eclipse on my test phone (which ran android 2.3.6).</p>
  
  <p>However, after finishing the app, in the published app the map did not show. What was visible were only grey tiles.</p>
  
  <p>I know this is an issue with the API key. </p>
  
  <p>So I created a new key, (and an apk with it) used it to generate a new API key from the google's console. I deleted the apk that was generated with the key, as it had the old ApiKey, and pasted the new api key here.</p>
  
  <pre><code>&lt;com.google.android.maps.MapView
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:clickable="true"
  android:id="@+id/mymap"
  android:apiKey="my_api_key"
  </code></pre>
  
  <p>Then I re exported my project but this time used the same key that I had created the step before as they contained the same SHA-1.</p>
  
  <p>However, still the map does not show and only grey tiles appear.
  I have entered my SHA-1 key in the api console in the following way.</p>
  
  <blockquote>
    <p>18:3E:1D:8C:xx:xx:xx:xx:xx:xx:xx:xx:xx:x:xx:1D:E1:08:32:8E;com.mycompany.mapapp</p>
  </blockquote>
  
  <p>I tried to revert back to my debug key, but this time the debug app (running from eclipse) also did not show any maps.</p>
  
  <p>my questions are the following.</p>
  
  <ol>
  <li><p>Is this still the correct method to use? Because in the --<a href="https://developers.google.com/maps/documentation/android/start#obtaining_an_api_key" rel="nofollow">https://developers.google.com/maps/documentation/android/start#obtaining_an_api_key</a> -- google used different approach using fragments.</p></li>
  <li><p>What am I missing ?</p></li>
  <li><p>Is this method deprecated or should work ?</p></li>
  </ol>