Cordova build error not getting

BUILD FAILED

Total time: 2.411 secs
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.
Error: cmd: Command failed with exit code 1 Error output:
C:\Ionic Project\bucket\platforms\android\src\org\apache\cordova\camera\CameraLauncher.java:32: error: cannot find symbol
import org.apache.cordova.BuildHelper;
                         ^
  symbol:   class BuildHelper
  location: package org.apache.cordova
C:\Ionic Project\bucket\platforms\android\src\org\apache\cordova\camera\CameraLauncher.java:140: error: cannot find symbol
        this.applicationId = (String) BuildHelper.getBuildConfigValue(cordova.getActivity(), "APPLICATION_ID");
                                      ^
  symbol:   variable BuildHelper
  location: class CameraLauncher
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.
2 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.