I want to find the current location of the user through my app and I copied the source code from Github and I don\'t know it does not give me any error but this one. Here\'s my
You can use ActivityCompat instead:
ActivityCompat.requestPermission(this, LOCATION_PERMISSION_REQUEST_CODE,
Manifest.permission.ACCESS_FINE_LOCATION, true);
This is because your sample code is part of a tutorial and is still missing a helper class.
Here is the PermissionUtils code located in GitHub in the same project.