After upgrading to Android ADT version 22 and cleaning my project, the R.java files went missing. I can\'t use setViewContent(R.layout.activity_main) because the activity ca
This is.... "Much ado about nothing"!!!
In my case there is error due to "&" inside strings.xml file(but error not shown) for declaring string for a array type. Now the problem has been solved as I changed "&" to "and".
So, please make sure that you do not have such silly use of symbols, and clean the project.