Every time in code that I have an R, I get an error R cannot be resolved to a variable.
The R.java file appears to be missing.
I have tried cleaning the proj
This is a very common issue, this is encountered when we edit any of the xml file in our project like drawable, layout, strings etc.
We usually clean project (or) restart our IDE (or) import R.java when we get this problem. Never do import.
First try to fix the errors in all xml files and then remove the R.java import from java files. And then clean the project.
So simple.