Android IDE (AIDE) Support Forum

View IDs topic,java code error


Wat should i change in my java code​:pensive::pensive:

Change line 18 to TextView textView = (TextView) findViewById(R.id.mainTextView1);

Capital I on Id Java is case sensitive so Id isn’t the same as Id

TextView textView = (TextView) findviewbyid(R.id.mainTextView1);

Would you please help me? How shall I solve this?

After the line MainActivity extends Activity add
private TextView textview