emulationnexus-5

how to register Fingerprint for Authentication on Nexus emulator


there is no response after I typed adb -s emulator-5554 emu finger touch 1. this is reference link https://github.com/googlesamples/android-FingerprintDialog/issues/2


Solution

  • Open Security Settings on your Fingerprint Emulation enabled Emulator. According to Android Developers Documentation, Register 1 or 2 fingerprints with command

    adb -e emu finger touch 1

    or

    adb -e emu finger touch 2

    and save the settings. Next time when you are prompted for the Fingerprint Authentication again enter the same command

    adb -e emu finger touch 1

    to successfully authenticate. I just tried and it works fine.