Getting the following error when including the fingerprint-auth plugin.
/officeWork/Mac/ionic app tirals/test/platforms/android/src/com/cordova/plugin/android/fingerprintauth/FingerprintAuth.java:399: error: method does not override or implement a method from a supertype
@Override
^
/officeWork/Mac/ionic app tirals/test/platforms/android/src/com/cordova/plugin/android/fingerprintauth/FingerprintAuth.java:402: error: cannot find symbol
super.onRequestPermissionResult(requestCode, permissions, grantResults);
^
symbol: method onRequestPermissionResult(int,String[],int[])Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileDebugJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 6.15 secs
/officeWork/Mac/ionic app tirals/test/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: /officeWork/Mac/ionic app tirals/test/platforms/android/gradlew with args: cdvBuildDebug,-b,/officeWork/Mac/ionic app tirals/test/platforms/android/build.gradle,-Dorg.gradle.daemon=true
Error: /officeWork/Mac/ionic app tirals/test/platforms/android/cordova/build: Command failed with exit code 1
Fixed it after updating android SDK and accepting licence.
android update sdk --no-ui --filter build-tools-24.0.0,android-24,extra-android-m2repository.
Getting the following error when including the fingerprint-auth plugin.
ionic info gives the following details
sudo cordova --version 6.4.0
also made sure that android SDK is updated android update sdk --no-ui --all --filter "extra-android-m2repository"