-2

i probably do some manuplication with eclipse ,and now in ecilpse R.java file under gen is not gernating ??? how to resolved this

5 Answers5

1

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?

koljaTM
  • 10,064
  • 2
  • 40
  • 42
0

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..

Prakhar
  • 2,270
  • 19
  • 26
0

Just delete the Project and create a new project .

FarhaSameer786
  • 370
  • 1
  • 4
  • 12
0

Copy an old R.java file from any other project, it will recreate itself!!!

Exceptional
  • 2,994
  • 1
  • 18
  • 25
0

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.

hemantsb
  • 2,049
  • 2
  • 20
  • 29