I had a similar problem where used;
ContextCompat.checkSelfPermission(MainActivity.this,Manifest.permission.READ_CONTACTS) != PackageManager.PERMISSION_GRANTED
where it could not resolve symbol READ_CONTACTS.
However on using;
import android.Manifest;
It started to recognize READ_CONTACT