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);