Implement implementation 'androidx.biometric:biometric:1.1.0' BiometricManager biometricManager = BiometricManager. from ( this ) ; switch (biometricManager.canAuthenticate()) { case BiometricManager. BIOMETRIC_ERROR_NO_HARDWARE : Toast. makeText (getApplicationContext() , "Failed To Authenticate FingerPrint." , Toast. LENGTH_SHORT ).show() ; break; case BiometricManager. BIOMETRIC_ERROR_HW_UNAVAILABLE : Toast. makeText (getApplicationContext() , "Failed To Authenticate FingerPrint." , Toast. LENGTH_SHORT ).show() ; break; case BiometricManager. BIOMETRIC_ERROR_NONE_ENROLLED : Toast. makeText (getApplicationContext() , "Failed To Authenticate FingerPrint." , Toast. LENGTH_SHORT ).show() ; break; } Executor executor = ContextCompat. getMainExecutor ( this ) ; biometricPrompt = new BiometricPrompt( this, executor , new BiometricPrompt.AuthenticationCallback() { @Override public vo...