I know this question has been asked before but I am at my witts end with this. I have just created a new project and getting this error.
Ofcourse the R.java file is not
This just worked for me.
Added a character to the manifest and saved. Deleted said character cleaned projected and package created under gen with buildconfig and R java in it.
Why is worked I have no idea.