Android: R.drawable.marker cannot be resolved or is not a field
<p>Borrowing this code from several different tutorials on how to use Google maps on Android, I ran into a problem that "R.drawable.marker cannot be resolved or is not a field"</p>

<p>R.java is not being imported via the known bug in Eclipse.</p>

<pre><code>public void onStart() {
     super.onStart();

         // Create an ItemizedOverlay to display a list of markers
           Drawable defaultMarker = getResources().getDrawable(R.drawable.marker);
           HelloItemizedOverlay placesItemizedOverlay = new HelloItemizedOverlay (defaultMarker, this);
           GeoPoint point =new GeoPoint((int)(41.856451 * 1E6),
                    (int)(-87.604864 * 1E6));
           OverlayItem overlayitem = new OverlayItem(point, "Line 1", "Line 2");
           List&lt;Overlay&gt; mapOverlays = mapView.getOverlays();

           placesItemizedOverlay.addOverlay(overlayitem);
           mapOverlays.add(placesItemizedOverlay);
          // mapView.getOverlays().add(placesItemizedOverlay);

 }
</code></pre>
