title: Android InstallException: EOF Google MapsView "Hello Maps"
body: <p>Eclipse isn't pointing out any errors in my code. Got an exception when I tried to run the emulator. Here's all my code.</p>
  
  <p>HelloGoogleMaps.java</p>
  
  <pre><code>package com.example.hellogooglemaps;
  
  import android.app.Activity;
  import android.os.Bundle;
  import com.google.android.maps.*;
  import android.widget.LinearLayout;
  import android.widget.ZoomControls;
  
  
  public class HelloGoogleMaps extends MapActivity
  {
      LinearLayout linearLayout;
      MapView mapView;
      ZoomControls mZoom;
      /** Called when the activity is first created. */
      @Override
      public void onCreate(Bundle savedInstanceState)
      {
              super.onCreate(savedInstanceState);
              setContentView(R.layout.main);
      }
  
  
      @Override
      protected boolean isRouteDisplayed() {
              return false;
      }
  
  
  
  }
  </code></pre>
  
  <p>main.xml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &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_api_key" //I have this in my program. Just not putting it in post.
  </code></pre>
  
  <p>/></p>
  
  <p>HelloGoogleMaps Manifest</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p>
      
      </p>
  
  <pre><code>&lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
  &lt;uses-library android:name="com.google.android.maps" /&gt;
      &lt;activity android:name=".HelloGoogleMaps"
                android:label="@string/app_name"
                android:theme="@android:style/Theme.NoTitleBar"&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><strong>EDIT</strong> Debugging shows the following:</p>
  
  <pre><code>ERROR: the user data image is used by another emulator. aborting
  </code></pre>
  
  <p><strong>EDIT 2</strong> Console also gives this warning:</p>
  
  <pre><code>Warning once: This application, or a library it uses, is using NSQuickDrawView, which    has been deprecated. Apps should cease use of QuickDraw and move to Quartz.
  </code></pre>
  
  <p><strong>EDIT 3</strong> It installs now but the app quits unexpectedly in the emulator. </p>