java - "cannot be resolved or is not a field" -- android -- vogella tutorial -
i did tutorial here: http://www.vogella.com/articles/androidsqlite/article.html#todo
@override protected void oncreate(bundle bundle) { super.oncreate(bundle); setcontentview(r.layout.todo_edit); in last line eclipse underlines todo_edit , says: todo_edit cannot resolved or not field
todo_edit in layout folder.
it not start capital letter
i have not imported android.r
i dont error might be. ( again: not own code, made professionals )
any ideas ?
you must check xml files there error
if not building r.java means there error in of xml or manifest file check wont build until
check recent change did xml
you can remove , re-add recent added/changed xml file
Comments
Post a Comment