Execution failed for task ':processDebugManifest'


#1

BUILD FAILED

Total time: 2 mins 21.637 secs
Error: cmd: Command failed with exit code 1 Error output:
C:\Users\NATALIA\Pictures\mdp365-ionic3\platforms\android\AndroidManifest.xml:28:13-35 Error:
Attribute meta-data#android.support.VERSION@value value=(26.1.0) from [com.android.support:support-v4:26.1.0] AndroidManifest.xml:28:13-35
is also present at [com.android.support:appcompat-v7:25.4.0] AndroidManifest.xml:28:13-35 value=(25.4.0).
Suggestion: add ‘tools:replace=“android:value”’ to element at AndroidManifest.xml:26:9-28:38 to override.

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.
    [ERROR] An error occurred while running cordova run android --device (exit code 1).

#2

same problem here after 1 hour searching I got this solution

but in my case it’s happen for phonegap-plugin-push