SAP Knowledge Base Article - Preview

2418382 - Build Error: duplicated with element declared at AndroidManifest.xml

Symptom

The latest Cordova Camera plugin (2.3.1) cannot be built with the Kapsel Logger plugin.

When creating hybrid application for Android, error :

:processDebugManifest/Users/mguenze/KapselProjects/CheckServiceLocationNew/platforms/android/AndroidManifest.xml:40:9-42:20 Error:
Element provider#android.support.v4.content.FileProvider at AndroidManifest.xml:40:9-42:20
duplicated with element declared at AndroidManifest.xml:36:9-38:20
/Users/user_name/KapselProjects/CheckServiceLocationNew/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


Read more...

Environment

  • SMP 3.0 SDK SP14 PL02
  • SMP 3.0 SDK SP13 PL09
  • SAP HAT 1.22.2
  • Hybrid application
  • Android
  • SAP Kapsel Plugin Logger 3.13.12
  • Cordova Camera Plugin 2.3.1

Product

SAP Mobile Platform 3.0 ; SAP Mobile Platform SDK 3.0

Keywords

duplicated. element, declared, AndroidManifest.xml, Cordova Camera plugin , KBA , MOB-ONP , SAP Mobile Platform on Premise , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.