title: Android Google Maps Fragment crashes
body: <p>I have embedded Google Maps V2 in my App, as the Google Tutorial says. </p>
  
  <p>I get the following errors, when switching to the map fragment.</p>
  
  <pre><code>03-08 12:52:01.600: E/AndroidRuntime(30314):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2105)
  
  03-08 12:52:01.600: E/AndroidRuntime(30314): FATAL EXCEPTION: main
  
  03-08 12:52:01.600: E/AndroidRuntime(30314): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{de.arvidg.exampleactionbartabs/de.arvidg.exampleactionbartabs.StartActivity}: 
  java.lang.ClassNotFoundException: de.arvidg.exampleactionbartabs.StartActivity
  </code></pre>
  
  <p>Heres the source code</p>
  
  <pre><code>package de.arvidg.exampleactionbartabs;
  
  import com.google.android.gms.common.GooglePlayServicesUtil;
  import com.google.android.gms.common.GooglePlayServicesUtil;
  import com.google.android.gms.maps.GoogleMap;
  import com.google.android.gms.maps.MapFragment;
  import com.google.android.maps.MapActivity;
  
  import data.Device;
  import data.Mission;
  import de.arvidg.exampleactionbartabs.R;
  import logic.FetchData;
  import android.app.Fragment;
  import android.content.Intent;
  import android.os.Bundle;
  import android.os.Handler;
  import android.os.Message;
  import android.util.Log;
  import android.view.LayoutInflater;
  import android.view.View;
  import android.view.ViewGroup;
  import android.widget.Button;
  import android.widget.EditText;
  
  public class MapFrag extends MapFragment {
  
      protected FetchData thread;
      protected Device device;
  
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container,
              Bundle savedInstanceState) {
  
          final View lView = inflater.inflate(R.layout.map, container,
                  false);
  
          return lView;
  
      }
  
      public void setDumb() {
  
      }
  
      public Device getDevice() {
          return device;
      }
  
      public void setDevice(Device device) {
          this.device = device;
      }
  
  }
  
  
              &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>My Manifest</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="de.arvidg.exampleactionbartabs"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk android:minSdkVersion="14" /&gt;
  
      &lt;permission
          android:name="de.arvidg.exampleactionbartabs.permission.MAPS_RECEIVE"
          android:protectionLevel="signature" /&gt;
  
      &lt;uses-feature
          android:glEsVersion="0x00020000"
          android:required="true" /&gt;
  
      &lt;uses-permission android:name="de.arvidg.exampleactionbartabs.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;application
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name" &gt;
          &lt;activity
              android:name=".StartActivity"
              android:label="@string/app_name"
              android:theme="@android:style/Theme.Holo" &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;activity
              android:name=".MapFrag"
              android:label="Map"
              android:theme="@android:style/Theme.Holo" &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="removed" /&gt;
  
          &lt;uses-library android:name="com.google.android.maps" /&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>