I have this code
if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
In manifests, I have enabled this permission
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
But I got an error cannot resolve symbol 'ACCESS_FINE_LOCATION'
How to solve this problem?
android manifest gps
NoName2
source share