- I am trying to run android sample applications using intellij idea and R.java file is missing form notepad samples source directory.
views:
220answers:
2
+2
A:
Use Build | Make. Actually, IDEA generates R.java file automatically every time you make a change in any XML file under the /res directory.
UPDATE: /gen directory must be present in the project and also configured as a Source root in IDEA module so that it can resolve the IDs in your source code.
CrazyCoder
2010-04-12 08:24:39
+2
A:
Make sure you have a 'gen' folder in your project root. If you don't, make one yourself.
Jim Blackler
2010-04-12 08:57:00