Skip to content

Issues with AndroidManifest.xml #1

@s20coeur

Description

@s20coeur
    Validation failed, exiting

:app:processDebugManifest FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app: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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 3s
20 actionable tasks: 18 executed, 2 up-to-date
(node:12888) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with e
xit code 1 Error output:
C:\Users\myname\AAAAA\platforms\android\app\src\main\AndroidManifest.xml:19:5-6
5 Error:
Element uses-permission#android.permission.CAMERA at AndroidManifest.xml
:19:5-65 duplicated with element declared at AndroidManifest.xml:16:5-90
C:\Users\myname\AAAAA\platforms\android\app\src\main\AndroidManifest.xml:21:5-8
4 Error:
Element uses-feature#android.hardware.camera at AndroidManifest.xml:21:5
-84 duplicated with element declared at AndroidManifest.xml:17:5-85
C:\Users\myname\AAAAA\platforms\android\app\src\main\AndroidManifest.xml Error:

    Validation failed, exiting

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app: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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 3s
at ChildProcess.whenDone (C:\Users\myname\AAAAA\platforms\android\cordova\n
ode_modules\cordova-common\src\superspawn.js:169:23)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:947:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:236:5)
(node:12888) 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(). (rejectio
n id: 1)
(node:12888) [DEP0018] DeprecationWarning: Unhandled promise rejections are depr
ecated. In the future, promise rejections that are not handled will terminate th
e Node.js process with a non-zero exit code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions