You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
@SystemService FingerprintManager not compiling #1797
Using Android Studio with Gradle and get this error when I try to @SystemService inject the FingerprintManager service.
Error:(18, 5) error: Unknown service type: android.hardware.fingerprint.FingerprintManager
Warning:(19, 24) Element fingerprintManager invalidated by SystemServiceHandler
The bug is due to renaming the hidden service class and exposing it under a new package in API 23 (we supported the old one as a hidden service). The same happened with NetworkStatsManager.
Using Android Studio with Gradle and get this error when I try to @SystemService inject the FingerprintManager service.
Error:(18, 5) error: Unknown service type: android.hardware.fingerprint.FingerprintManager
Warning:(19, 24) Element fingerprintManager invalidated by SystemServiceHandler
Any help appreciated. TIA