Android Fingerprints: hasEnrolledFingerprints triggers exception on some Samsungs Android Fingerprints: hasEnrolledFingerprints triggers exception on some Samsungs android android

Android Fingerprints: hasEnrolledFingerprints triggers exception on some Samsungs


I came across the same problem on a Samsung Galaxy S6, running Android 6.0.1

The Problem was caused by calling

fingerprintManager.hasEnrolledFingerprints()

I fixed it by adding a call to check for hardware before:

fingerprintManager.isHardwareDetected()    && mFingerprintManager.hasEnrolledFingerprints()

Checking for fingerprints without the hardware available seems to cause this exception on some devices.


If this is happening after you upgrade your Phone OS , Go to developer options --> Verify apps over USB --> Switch it off , learned it the hard way , hope it helps some valuable time !enter image description here