I would like to fix this error
R cannot be resolved to a variable
I looked up many answers, but I could not get the right one;
Just look in to your header files there will be:
import somefile.R;
Just remove that line and that's it.