Duplicate camera element declare in manifest.xml

how to solve this error

× Running command - failed!
[ERROR] An error occurred while running cordova build android (exit code 1):

    Error:
            Element uses-permission#android.permission.CAMERA at
    AndroidManifest.xml:23:5-90 duplicated with element declared at
    AndroidManifest.xml:21:5-65
    D:\kdIonic\lorem_ipsum\platforms\android\AndroidManifest.xml:25:5-85 Error:
            Element uses-feature#android.hardware.camera at
    AndroidManifest.xml:25:5-85 duplicated with element declared at
    AndroidManifest.xml:17:5-60
    D:\kdIonic\lorem_ipsum\platforms\android\AndroidManifest.xml:26:5-84 Error:
            Element uses-feature#android.hardware.camera at
    AndroidManifest.xml:26:5-84 duplicated with element declared at
    AndroidManifest.xml:25:5-85
    D:\kdIonic\lorem_ipsum\platforms\android\AndroidManifest.xml Error:
            Validation failed, exiting


    See http://g.co/androidstudio/manifest-merger for more information about

    the manifest merger.

    :processDebugManifest FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':processDebugManifest'.
    > Manifest merger failed with multiple errors, see logs

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or

    --debug option to get more log output.

    BUILD FAILED

    * What went wrong:
    Execution failed for task ':processDebugManifest'.
    > Manifest merger failed with multiple errors, see logs

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or

    --debug option to get more log output.
3 Likes