I've searched extensively for the answer but most answers are outdated and all the rest haven't worked.
I am new to Android studio and am working in it for a project. However, when I put in
import com.example.greenguff.camtest.R;
It tells me that it is unused and everything that references R gets marked with an error. I have also tried
import android.R;
from an answer. No dice on that either. I've messed around in my compiler settings. I've cleaned and rebuilt the project numerous times. I'm at my wit's end. Up-to-date help would be appreciated!