I was testing the sample app at Nexux 5x emulator.
When I restart the app after rebooting the emulator, it crashed.
In android monitor it read:
java.lang.RuntimeException: java.security.InvalidAlgorithmParameterException: java.lang.IllegalStateException: At least one fingerprint must be enrolled to create keys requiring user authentication for every use
That's so weird . I checked the return value of mFingerprintManager.hasEnrolledFingerprints() ,which was true. But the exception still was thrown during the createKey() .
I was testing the sample app at Nexux 5x emulator. When I restart the app after rebooting the emulator, it crashed.
In android monitor it read:
That's so weird . I checked the return value of
mFingerprintManager.hasEnrolledFingerprints()
,which was true. But the exception still was thrown during thecreateKey()
.