title: Try to add a picture marker google maps with android studio
body: <p>I tried to add a <code>drawable</code> in a marker google maps but it doesn't worked.
  I followed many tutorials and tried many things without success...
  Anyone can help me ?</p>
  
  <p>this is my code :</p>
  
  <blockquote>
    <p>I think the problem is ".icon(icon)"</p>
  </blockquote>
  
  <pre><code>public void onMapReady(GoogleMap googleMap) {
      mMap = googleMap;
      BitmapDescriptor icon = BitmapDescriptorFactory.fromResource(R.drawable.ic_radar);
  
      // Add a marker in Sydney and move the camera
      LatLng sydney = new LatLng(-34, 151);
      mMap.addMarker(new MarkerOptions().position(sydney).title("Marker in Sydney").icon(icon));
      mMap.moveCamera(CameraUpdateFactory.newLatLng(sydney));
  }
  </code></pre>