i probably do some manuplication with eclipse ,and now in ecilpse R.java file under gen is not gernating ??? how to resolved this
-
Check that the names of your resources (/res folder) are named correctly (small letters, letters and underscore only) – Mohamed_AbdAllah Aug 17 '13 at 12:12
-
Check for errors also clean project and rebuild. – zapl Aug 17 '13 at 12:14
-
@Mohamed_AbdAllah under res folder there are many other folder and file. which i have to look at? – kapil chaurasia Aug 17 '13 at 12:15
-
@zapl i already done that – kapil chaurasia Aug 17 '13 at 12:16
-
All your resource names (Strings, layouts, drawables, ...) – Mohamed_AbdAllah Aug 17 '13 at 12:17
-
use the steps that i have given.. – Prakhar Aug 17 '13 at 12:19
-
plz check the layout & other xml files. if something wrong in any of the xml file R.java wont generated ...& for tht clean & build project – user1140237 Aug 17 '13 at 12:24
5 Answers
Most likely there is an error in one of your xml files. Look for errors in the log output. Something like an unclosed tag, illegal name or so?

- 10,064
- 2
- 40
- 42
use these steps to solve your problem..
1) Open your android sdk manager.
2) There you will see Android build tools upadate or install.
3) After installing/updating.
4) Restart Eclipse this will solve the problem..
enjoy..

- 2,270
- 19
- 26
Copy an old R.java file from any other project, it will recreate itself!!!

- 2,994
- 1
- 18
- 25
This error is basically generated because of xml files. Try to build your project again, if nothing happens then,
Do one thing delete your layout folder and create it again. That will generate the new hexa values for objects, you have used in layout, and rebuild your gen folder automatically.
Then your project will not show any R.java error.

- 2,049
- 2
- 20
- 29