title: Can't add marker on User's Current Location Google Map V2
body: <p>I am trying to fetch user's current location on <strong>Genymotion</strong> emulator.I already set the custom <strong>GPS</strong> longitute and latitute on <strong>Genymotion</strong>. Whenever i trying to open Google Maps the Current location can't show in it.
  Here is my Code snippet.</p>
  
  <pre><code>  googleMap = ((MapFragment) getFragmentManager().findFragmentById(
      R.id.map1)).getMap();
    googleMap.setMyLocationEnabled(true);
    LocationManager locManager = (LocationManager) context
      .getSystemService(context.LOCATION_SERVICE);
    Criteria criteria = new Criteria();
    String locProvider = locManager.getBestProvider(criteria, false);
    Location location = locManager.getLastKnownLocation(locProvider);
    Location myLocation = googleMap.getMyLocation();
    if (myLocation != null) {
     double latitude = location.getLatitude();
     double longitude = location.getLongitude();
     LatLng latLng = new LatLng(latitude, longitude);
     googleMap.addMarker(new MarkerOptions()
       .position(latLng)
       .title("rajkot")
       .icon(BitmapDescriptorFactory
         .fromResource(R.drawable.ic_launcher)));
     googleMap.moveCamera(CameraUpdateFactory.newLatLng(latLng));
     googleMap.animateCamera(CameraUpdateFactory.zoomTo(15));
  
    } else {
     Toast.makeText(context, "unable to find location", 20).show();
    }
  </code></pre>
  
  <p>This is my screenshot.
  <a href="https://i.stack.imgur.com/0eYzZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0eYzZ.png" alt="Google Map"></a></p>
  
  <p>Please help me i can't find the user's current location</p>
  
  <p>I also Check it on real device It's not working</p>