googlearchive / android-FingerprintDialog

Migrated:
https://github.com/android/security
Apache License 2.0
1.38k stars 477 forks source link

crash after emulator reboot #33

Closed Ghostish closed 5 years ago

Ghostish commented 8 years ago

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() .

kdhiren commented 7 years ago

i face the same problem.

yakivmospan commented 7 years ago

Still exists on emulate API 23, x86, 10th revision.

codingjeremy commented 5 years ago

I am closing this issue/PR, as it has been migrated to the new repo linked above in the comments. Thank you!