layout id cannot be resolved or is not a field

1.) check your xml files in res/layout folder if contain errors or warnings, repair this
2.) try comment import R in Activity file
// import com.mysite.packagename.R;
3.) every clean and rebuild project

This entry was posted in Bugs, warnings, errors, Eclipse and tagged , . Bookmark the permalink.


Comments are closed.

1,928 views