The project worked fine for sudden I start getting the following message on Eclipse
layout cannot be resolved or is not a field
on this line:
i try this:
but nothing help
EDIT: and There is no error on xml files
There may be error in one of your xml files, because of that R.java is not getting created hence you are getting that error. check your xml files you will find error.