title: Google maps api doesn't shows my current location
body: <p>I followed some docs,  but it  still doesn't shows my current location , here is my code : </p>
  
  <pre><code>package com.example.stewiesh.uniguide;
  
  import android.content.pm.PackageManager;
  import android.support.annotation.NonNull;
  import android.support.v4.app.ActivityCompat;
  import android.support.v4.app.FragmentActivity;
  import android.os.Bundle;
  import android.util.Log;
  import android.widget.Toast;
  
  import com.google.android.gms.maps.CameraUpdateFactory;
  import com.google.android.gms.maps.GoogleMap;
  import com.google.android.gms.maps.OnMapReadyCallback;
  import com.google.android.gms.maps.SupportMapFragment;
  import com.google.android.gms.maps.model.LatLng;
  import com.google.android.gms.maps.model.MarkerOptions;
  
  public class Routes extends FragmentActivity implements OnMapReadyCallback
  {
      private GoogleMap mMap;
  
      protected void onCreate(Bundle savedInstanceState)
      {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_routes);
          SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager()
                  .findFragmentById(R.id.map);
          mapFragment.getMapAsync(this);
      }
  
      public void onMapReady(GoogleMap googleMap)
      {
          mMap = googleMap;
          mMap.setMapType(GoogleMap.MAP_TYPE_NORMAL);
          if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED &amp;&amp;
                  ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED)
          {
              System.out.println("Permission error");
              return;
          }
          mMap.setMyLocationEnabled(true);
          mMap.setOnMyLocationButtonClickListener(new GoogleMap.OnMyLocationButtonClickListener()
          {
              public boolean onMyLocationButtonClick()
              {
                  System.out.println("button error");
                  return false;
              }
          });
      }
  
  }
  </code></pre>
  
  <p>i am using latest version of api , everything in manifest and gradle is fine , i checked them several times.... </p>