I am trying to run Android sample applications using intellij idea and R.Java file is missing form notepad samples source directory.
If you are using IDEA 12 on Windows 7 (and probably Vista and 8), R.Java can be found at :
C:\Users\[username]\.IdeaIC12\system\compiler\[project].nnnnnnnn\.generated\aapt\[project].nnnnnnnn\production\[your\name\space]\R.java