Hello i have this error when i run the command : ionic cordova build android
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:compileDebugJavaWithJavac’.
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: 1 mins 28.676 secs
(node:38662) UnhandledPromiseRejectionWarning: Error: /Users/mac/Documents/projetsMobile/tallybimobileapp/platforms/android/gradlew: Command failed with exit code 1 Error output:
/Users/mac/Documents/projetsMobile/tallybimobileapp/platforms/android/src/name/ratson/cordova/admob/rewardvideo/RewardVideoListener.java:13: error: RewardVideoListener is not abstract and does not override abstract method onRewardedVideoCompleted() in RewardedVideoAdListener
class RewardVideoListener implements RewardedVideoAdListener {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:compileDebugJavaWithJavac’.
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.
at ChildProcess.whenDone (/Users/mac/Documents/projetsMobile/tallybimobileapp/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:961:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
(node:38662) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:38662) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.