I am occurring error like:
\"The method onClick(View) of type oddg must override a superclass method\".
I am confused where exact
This isn't directly appropriate to this question but you will also get this error if you haven't declared implements OnClickListener
on the class declaration.
// Wrong
public class aClass extends Activity {
}
// Right
public class aClass extends Activity implements OnClickListener {
}
This may seem dum to the more experienced coder but I'm new to this and it fooled me.