title: I am using Google Maps v2 in Android, but why does it give an exception error?
body: <p>I am not displaying any pin; I am just trying to show a map, but when I am trying to start an activity it is force closed and gives the exception:</p>
  
  <blockquote>
    <p>is show sometype of fragment class error or binary error</p>
  </blockquote>
  
  <p>The manifest file is:</p>
  
  <blockquote>
    <p>Mani.xml</p>
  </blockquote>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="in.wptrafficanalyzer.locationgooglemapv2demo"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="16" /&gt;
  
      &lt;permission
            android:name="in.wptrafficanalyzer.LocationGoogleMapV2Demo.permission.MAPS_RECEIVE"
            android:protectionLevel="signature"/&gt;
  
      &lt;uses-permission android:name="in.wptrafficanalyzer.LocationGoogleMapV2Demo.permission.MAPS_RECEIVE"/&gt;
  
      &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;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;activity
              android:name="in.wptrafficanalyzer.locationgooglemapv2demo.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="AIzaSyAdupvz6Hpet0O5OxfAg8n-OrrFPK8_JZ4"/&gt;
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <h3>Exception</h3>
  
  <pre><code>04-11 18:07:42.476: E/AndroidRuntime(13119): FATAL EXCEPTION: main
  04-11 18:07:42.476: E/AndroidRuntime(13119): java.lang.RuntimeException: Unable to start activity ComponentInfo{in.wptrafficanalyzer.locationgooglemapv2demo/in.wptrafficanalyzer.locationgooglemapv2demo.MainActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class fragment
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2122)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.app.ActivityThread.access$600(ActivityThread.java:140)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1228)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.os.Handler.dispatchMessage(Handler.java:99)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.os.Looper.loop(Looper.java:137)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.app.ActivityThread.main(ActivityThread.java:4895)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at java.lang.reflect.Method.invokeNative(Native Method)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at java.lang.reflect.Method.invoke(Method.java:511)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:994)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:761)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at dalvik.system.NativeStart.main(Native Method)
  04-11 18:07:42.476: E/AndroidRuntime(13119): Caused by: android.view.InflateException: Binary XML file line #7: Error inflating class fragment
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:306)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.app.Activity.setContentView(Activity.java:1912)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at in.wptrafficanalyzer.locationgooglemapv2demo.MainActivity.onCreate(MainActivity.java:12)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.app.Activity.performCreate(Activity.java:5163)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2061)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     ... 11 more
  04-11 18:07:42.476: E/AndroidRuntime(13119): Caused by: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.google.android.gms.maps.SupportMapFragment: make sure class name exists, is public, and has an empty constructor that is public
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.support.v4.app.Fragment.instantiate(Fragment.java:401)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.support.v4.app.Fragment.instantiate(Fragment.java:369)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:272)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:676)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     ... 21 more
  04-11 18:07:42.476: E/AndroidRuntime(13119): Caused by: java.lang.ClassNotFoundException: com.google.android.gms.maps.SupportMapFragment
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     at android.support.v4.app.Fragment.instantiate(Fragment.java:391)
  04-11 18:07:42.476: E/AndroidRuntime(13119):     ... 24 more
  </code></pre>