title: Unfortunately google maps has stopped
body: <p>I would get google map on my emulator.
  I followed the instructions on 
  When I run the application an error's message appears:Unfortunately DemoGoogleMapsV2 has stopped.</p>
  
  <p>my androidmanifest.xml:</p>
  
  <pre><code>&lt;uses-sdk
  android:minSdkVersion="8"
  android:targetSdkVersion="17" /&gt;
  &lt;permission android:name="com.demogooglemapsv2.permission.MAPS_RECEIVE"
  android:protectionLevel="signature"/&gt;
  &lt;uses-permission android:name="com.demogooglemapsv2.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;!-- The following two permissions are not required to use
  Google Maps Android API, but are recommended. --&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_FINE_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;meta-data
  android:name="com.google.android.maps.v2.API_KEY"
  android:value="API_KEY"/&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;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>my activity_main.xml:</p>
  
  <pre><code>&lt;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>my MainActivity.java:</p>
  
  <pre><code> package com.demogooglemapsv2;
  import android.app.Activity;
  import android.os.Bundle;
  
  public class MainActivity extends Activity {
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_main);
  }
  }
  </code></pre>
  
  <p>the log error:</p>
  
  <blockquote>
    <p>09-04 17:43:51.170: E/Trace(1477): error opening trace file: No such
    file or directory (2) 09-04 17:43:53.449: E/AndroidRuntime(1477):
    FATAL EXCEPTION: main 09-04 17:43:53.449: E/AndroidRuntime(1477):
    java.lang.RuntimeException: Unable to start activity
    ComponentInfo{com.demogooglemapsv2/com.demogooglemapsv2.MainActivity}:
    android.view.InflateException: Binary XML file line #11: Error
    inflating class fragment 09-04 17:43:53.449: E/AndroidRuntime(1477):
      at
    android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    android.app.ActivityThread.access$600(ActivityThread.java:141) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    android.os.Handler.dispatchMessage(Handler.java:99) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    android.os.Looper.loop(Looper.java:137) 09-04 17:43:53.449:
    E/AndroidRuntime(1477):   at
    android.app.ActivityThread.main(ActivityThread.java:5041) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    java.lang.reflect.Method.invokeNative(Native Method) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    java.lang.reflect.Method.invoke(Method.java:511) 09-04 17:43:53.449:
    E/AndroidRuntime(1477):   at
    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    dalvik.system.NativeStart.main(Native Method) 09-04 17:43:53.449:
    E/AndroidRuntime(1477): Caused by: android.view.InflateException:
    Binary XML file line #11: Error inflating class fragment 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    android.view.LayoutInflater.rInflate(LayoutInflater.java:746) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    android.view.LayoutInflater.inflate(LayoutInflater.java:489) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    android.view.LayoutInflater.inflate(LayoutInflater.java:396) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    android.view.LayoutInflater.inflate(LayoutInflater.java:352) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    android.app.Activity.setContentView(Activity.java:1881) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    com.demogooglemapsv2.MainActivity.onCreate(MainActivity.java:17) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    android.app.Activity.performCreate(Activity.java:5104) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   ... 11 more 09-04
    17:43:53.449: E/AndroidRuntime(1477): Caused by:
    java.lang.IllegalStateException: The meta-data tag in your app's
    AndroidManifest.xml does not have the right value.  Expected 5089000
    but found 0.  You must have the following declaration within the
     element:      09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    com.google.android.gms.common.GooglePlayServicesUtil.A(Unknown Source)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable(Unknown
    Source) 09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    com.google.android.gms.maps.internal.u.I(Unknown Source) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    com.google.android.gms.maps.internal.u.H(Unknown Source) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    com.google.android.gms.maps.MapsInitializer.initialize(Unknown Source)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    com.google.android.gms.maps.SupportMapFragment$b.jz(Unknown Source)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    com.google.android.gms.maps.SupportMapFragment$b.a(Unknown Source)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    com.google.android.gms.dynamic.a.a(Unknown Source) 09-04 17:43:53.449:
    E/AndroidRuntime(1477):   at
    com.google.android.gms.dynamic.a.onInflate(Unknown Source) 09-04
    17:43:53.449: E/AndroidRuntime(1477):     at
    com.google.android.gms.maps.SupportMapFragment.onInflate(Unknown
    Source) 09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:291)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   at
    android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:676)
    09-04 17:43:53.449: E/AndroidRuntime(1477):   ... 21 more</p>
  </blockquote>