This is my Button in Android Studio
Button button = (Button) findViewById(R.id.button1);
Now i want to button.setOnClickListener but i cant, the auto completion is not working, and said "Cannot resolve symbol setOnClickListener"
Does anybody knows anything about this?
The autocomplete is not working for "setOnClickListener" but i can autocomplete other things