title: Android Google Maps API v2 - Custom marker .png file not recognized by AS
body: <p>I am trying to customize my marker with a .png file. It is copied under drawable as gsw.png. </p>
  
  <p>The code (in MapActivity.java) shows the thumbnail of the icon when I place it in the code as R.drawable.gsw However, I get the error, "error cannot find symbol variable gsw". setUpMap() is called to set up the map with all the markers.  </p>
  
  <p>I see this has been solved for people by cleaning up, restarting eclipse/Android Studio etc. It does not work for me. Can anyone help? </p>
  
  <p>Code in MapActivity.java</p>
  
  <pre><code>private void setUpMap() {
  
          mMap.addMarker(new MarkerOptions().position(new LatLng(0, 0)).title("Marker"));
          mMap.addMarker(new MarkerOptions().position(new LatLng(37.497836, -121.9216775)).title("Title"));
  
  
           mMap.addMarker(new MarkerOptions()
                          .position(new LatLng(18.500486, 73.866899))
                          .title("Pune")
                          .icon(BitmapDescriptorFactory.fromResource(R.drawable.gsw)));
  
  
      }
  </code></pre>