As I am creating a firebase authentication activity signup and login findViewbyId is working well in Signup activity but giving an error in Login Activityenter image description here
CodePudding user response:
Your method is outside of the activity. you must put this method inside the LoginActivity.
CodePudding user response:
Try to clean and build. if that solution not work then check your layout in .XML file if it is showing an error then please solved it first after again clean and rebuild.
***Edited You are calling findViewbyID from outside activity class
