使用ionic cordova开发指纹并在android上运行时,KeyguardManager系统服务出现错误
尝试: 使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行以获得更多日志输出。使用--scan运行以获取 充分的洞察力使用ionic cordova开发指纹并在android上运行时,KeyguardManager系统服务出现错误,android,ionic-framework,fingerprint,Android,Ionic Framework,Fingerprint,尝试: 使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行以获得更多日志输出。使用--scan运行以获取 充分的洞察力 得到更多 构建在5s内失败 Compilation failed; see the compiler error output for details. Compilation failed; see the compiler error output for details. > Task :app:compileDebu
Compilation failed; see the compiler error output for details.
Compilation failed; see the compiler error output for details.
> Task :app:compileDebugJavaWithJavac FAILED
24 actionable tasks: 1 executed, 23 up-to-date
E:\IONIC\Walkin\platforms\android\gradlew: Command failed with exit code 1 Error output:
E:\IONIC\Walkin\platforms\android\app\src\main\java\de\niklasmerz\cordova\biometric\BiometricActivity.java:89: error: cannot find symbol
.getSystemService(this, KeyguardManager.class);
^
symbol: method getSystemService(BiometricActivity,Class<KeyguardManager>)
location: class ContextCompat
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
cordova.cmd build android --device exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.