Thursday, 8 August 2013

"cannot be resolved or is not a field" -- android -- vogella tutorial

"cannot be resolved or is not a field" -- android -- vogella tutorial

i just did this tutorial here:
http://www.vogella.com/articles/AndroidSQLite/ see section 9
...
@Override
protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(R.layout.todo_edit);
...
in the last line Eclipse underlines the todo_edit and says: todo_edit
cannot be resolved or is not a field



todo_edit is in my layout folder.
it does not start with a capital letter
i have not imported android.R



i dont get where the error might be. ( again: its not even my own code, it
was made by professionals )
any ideas ?

No comments:

Post a Comment