title: android.view.InflateException: Binary XML file line #2: Error inflating class fragment
body: <p>i do everything, research every but still not working.
  i read many page from here but not :(</p>
  
  <p><strong>Error logs</strong>:</p>
  
  <pre><code>11-18 10:25:46.743: D/AndroidRuntime(24336): Shutting down VM
  11-18 10:25:46.743: W/dalvikvm(24336): threadid=1: thread exiting with uncaught exception (group=0x4001d578)
  11-18 10:25:46.873: E/AndroidRuntime(24336): FATAL EXCEPTION: main
  11-18 10:25:46.873: E/AndroidRuntime(24336): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.gmap/com.example.gmap.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class fragment
  11-18 10:25:46.873: E/AndroidRuntime(24336):    at 
  android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1659)
  11-18 10:25:46.873: E/AndroidRuntime(24336):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1675)
  11-18 10:25:46.873: E/AndroidRuntime(24336):    at android.app.ActivityThread.access$1500(ActivityThread.java:121)
  11-18 10:25:46.873: E/AndroidRuntime(24336):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:943)
  11-18 10:25:46.873: E/AndroidRuntime(24336):    at android.os.Handler.dispatchMessage(Handler.java:99)
  11-18 10:25:46.873: E/AndroidRuntime(24336):    at android.os.Looper.loop(Looper.java:138)
  11-18 10:25:46.873: E/AndroidRuntime(24336):    at android.app.ActivityThread.main(ActivityThread.java:3701)
  11-18 10:25:46.873: E/AndroidRuntime(24336):    at java.lang.reflect.Method.invokeNative(Native Method)
  11-18 10:25:46.873: E/AndroidRuntime(24336):    at java.lang.reflect.Method.invoke(Method.java:507)
  </code></pre>
  
  <p><strong>Main Activity</strong>: </p>
  
  <pre><code>package com.example.gmap;
  
  import android.os.Bundle;
  import android.app.Activity;
  import android.view.Menu;
  
  public class MainActivity extends Activity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
      }
  
      @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><strong>Manifest</strong>: </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.gmap"
      android:versionCode="1"
      android:versionName="1.0" &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;!-- The following two permissions are not required to use
       Google Maps Android API v2, 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;uses-sdk
          android:minSdkVersion="9"
          android:targetSdkVersion="17" /&gt;
  
      &lt;meta-data
      android:name="com.google.android.gms.version"
      android:value="@integer/google_play_services_version" /&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.example.gmap.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="AIzaSyDq-Xosuk1Wzyw9WJ4bGjjE6XIhD90QNuA"/&gt;
  
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>and <strong>main xml</strong>: </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&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;
  </code></pre>
  
  <p>Please any body help meeee.</p>