Very frustrating problem I have here. I have this code:
Button b = findViewById(android.R.id.button1);
And I\'m getting this error on it:
Your mistake is here-Button b = findViewById(android.R.id.button1);
Replace the above line by findViewById(R.id.button1);