View IDs topic,java code error
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);
After the line MainActivity extends Activity add
private TextView textview