title: Google Play Services missing on Android 2.2 emulator while using Google Maps API v2
body: <p>Hey I am trying to use Google Maps on my emulator even though I've installed Google Play Services library when I run the app it says </p>
  
  <blockquote>
    <p>This app won't run without Google Play Services which are missing from your phone</p>
  </blockquote>
  
  <p>on LogCat I get the warning about it but not really sure why I am getting this.</p>
  
  <p>my MainActivity.java </p>
  
  <pre><code>package com.mapsmaps;
  
  import android.os.Bundle;
  import android.support.v4.app.FragmentActivity;
  import android.view.Menu;
  
  import com.google.android.gms.maps.GoogleMap;
  import com.google.android.gms.maps.SupportMapFragment;
  
  public class MainActivity extends FragmentActivity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          GoogleMap mapa = ((SupportMapFragment) getSupportFragmentManager()
                  .findFragmentById(R.id.map)).getMap();
  
      }
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          getMenuInflater().inflate(R.menu.activity_main, menu);
          return true;
      }
  }
  </code></pre>
  
  <p>activity_main.xml</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".MainActivity" &gt;
  
      &lt;fragment
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:id="@+id/map"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          class="com.google.android.gms.maps.SupportMapFragment" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>AndroidManifest.xml</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.mapsmaps"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="8" /&gt;
  
      &lt;permission
          android:name="com.mapsmaps.permission.MAPS_RECEIVE"
          android:protectionLevel="signature" /&gt;
  
      &lt;uses-permission android:name="com.mapsmaps.permission.MAPS_RECEIVE" /&gt;
  
      &lt;uses-feature
          android:glEsVersion="0x00020000"
          android:required="true" /&gt;F
  
      &lt;uses-permission android:name="android.permission.INTERNET" /&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-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&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.mapsmaps.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="AIzaSyBdbj4iXi0SijKjJDrJw5RigtSpQcaID7Q" /&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>LogCat - </p>
  
  <pre><code>D/dalvikvm(451): DexOpt: couldn't find field 
      Landroid/content/res/Configuration;.smallestScreenWidthDp
  W/dalvikvm(451): VFY: unable to resolve instance field 24
  D/dalvikvm(451): VFY: replacing opcode 0x52 at 0x0012
  D/dalvikvm(451): VFY: dead code 0x0014-0018 in 
      Lcom/google/android/gms/common/GooglePlayServicesUtil;.b 
      (Landroid/content/res/Resources;)Z
  W/GooglePlayServicesUtil(451): Google Play services is missing.
  W/GooglePlayServicesUtil(451): Google Play services is missing.
  W/GooglePlayServicesUtil(451): Google Play services is missing.
  W/GooglePlayServicesUtil(451): Google Play services is missing.
  W/GooglePlayServicesUtil(451): Google Play services is missing.
  W/GooglePlayServicesUtil(451): Google Play services is missing.
  W/GooglePlayServicesUtil(451): Google Play services is missing.
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/2WFFu.png" alt="library screenshot"></p>
  
  <p><img src="https://i.stack.imgur.com/ObvQq.png" alt="emulator screenshot"></p>