Recently, Google allowed developers to use Fingerprint API in Android 6.0 (API 23).
I have an android project with
Class Requires API level 23 (current min is 17)
you can use Support Library v4 to support minSdk less than 23. You have to use class name accordingly e.g. FingerprintManagerCompat, etc.
Check this github sample