String email = email.getText().toString();
Please help getting error The method getText() is undefined for the type String
Change - String email = email.getText().toString() to
String email = email.getText().toString()
String emailStr = email.getText().toString()