Android Class for Google Login

Google Sample Import Classes import com.google.android.gms.auth.api.signin.GoogleSignIn; import com.google.android.gms.auth.api.signin.GoogleSignInAccount; import com.google.android.gms.auth.api.signin.GoogleSignInClient; import com.google.android.gms.auth.api.signin.GoogleSignInOptions; import com.google.android.gms.common.SignInButton; import com.google.android.gms.common.api.ApiException; import com.google.android.gms.tasks.OnCompleteListener; import com.google.android.gms.tasks.Task; Implement View.OnClickListener /** * Activity to demonstrate basic retrieval of the Google user's ID, email address, and basic * profile. */ public class SignInActivity extends AppCompatActivity implements View.OnClickListener { Set up Java classes for login…