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
In my case I am using java 1.6 and it is not supporting android 5.0 so removed those library files in android sdk, then clean the project it is working fine.