I am trying to run Android sample applications using intellij idea and R.Java file is missing form notepad samples source directory.
Make sure you have a gen folder in your project root. If you don't, make one yourself.
gen