android - "...cannot be resolved to type" error message; no method suggestions in Eclipse -
ok guys i've got question life of me cannot figured out. i'm using eclipse, , i've got android adt pluging installed, program configured android sdk path, , sdk parts downloaded (google api's, sdk platforms, system images). here problem: whenever go access method object, eclipse gives no method "suggestions" does. i'm not explaining best, i've attached screenshot kind of illustrates issue.
public class startingpoint extends activity { int counter; button add; button sub; textview display; //putting add.whatever here doesn't work @override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_starting_point); counter = 0; add = (button) findviewbyid(r.id.buttonadd); sub = (button) findviewbyid(r.id.buttonsub); display = (textview) findviewbyid(r.id.textview1); add.setonclicklistener(new view.onclicklistener() { //putting add.whatever here doesn't show suggestions either.
i've tried can think of working, deleting & reinstalling eclipse, deleting android eclipse , going through sdk setup again, changing workspace, creating entirely new project, deleting eclipse preference file, endless googling, resetting & altering settings, , can't life of me figure out what's causing this. ideas? thanks!
Comments
Post a Comment