title: Mapview in MapActivity Class not found
body: <p>I've seen other threads here with similar symptoms, but none of the answers solved my problem.  I'm following the Google map view tutorial, <a href="http://developer.android.com/resources/tutorials/views/hello-mapview.html" rel="nofollow">http://developer.android.com/resources/tutorials/views/hello-mapview.html</a> and following all directions exactly, I keep getting this error .. java.lang.ClassNotFoundException: com.goodintechnology.maps.Mymap in loader dalvik.system.PathClassLoader[/data/app/com.goodintechnology.maps-1.apk]</p>
  
  <p>I've started from scratch many times, but everytime, as soon as I change the Activity to MapActivity, the error is thrown.  The app target is Google API 2.2, and the emulator is the same, with GPS enabled.  I've tried putting the uses-library statement before, after, and in the Applications statement, but that didn't change anything.  I even tried putting the statement vertically in the manifest.  So, after about 8 hours messing with this, I put it to all of you.  Here's the code:</p>
  
  <pre><code>AndroidManifest.xml
  </code></pre>
  
  <p>
  </p>
  
  <pre><code>&lt;uses-library android:name="com.google.android.maps" /&gt;
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  
  &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
      &lt;activity android:name=".Mymap"
                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;
  </code></pre>
  
  <p></p>
  
  <p>and the layout main.xml
      
      </p>
  
  <pre><code>&lt;com.google.android.maps.MapView
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/mapview"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:clickable="true"
      android:apiKey="My key that was generated on google is here. trust me"
  /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>And the class Mymap</p>
  
  <pre><code>package com.goodintechnology.maps;
  import com.google.android.maps.MapActivity;
  import android.os.Bundle;
  
  public class Mymap extends MapActivity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  }
  
  @Override
  protected boolean isRouteDisplayed() {
      // TODO Auto-generated method stub
      return false;
  }
  }
  </code></pre>
  
  <p>As mentioned this is all straight from Google Map View tutorial.</p>