Search code examples
javaandroideclipser.java-file

Create new project, R.java file not generated


When I create a new project in Eclipse, I automatically get errors in my MainActivity.java file when I open it, stating R cannot be resolved to a variable. I think it has to do with me recently updating some stuff in my SDK Manger. Does anyone have any ideas?

enter image description here

enter image description here


Solution

  • Try Project ==> clean and build