I have created a dummy Android project from within Android studio, and I can make it run, but the Editor itself fails to find the R class. In fact I can\'t find the gen fold
The folder layout is different to eclipse. I don't think there's a "gen" folder. My "R" file is in the following location:
(module name)/build/source/r/debug/(package name)/R.java
I think this file is created when you create a new project using the wizard.