Home > Mobile >  Online for android studio in the Manifest merger failed with multiple errors and deliver
Online for android studio in the Manifest merger failed with multiple errors and deliver

Time:10-03

Deliver the Manifest merger failed with multiple errors

CodePudding user response:

Reason:

Gradle plugin will be enabled by default AS the Manifest Merger Tool, if the Library also defines the same AS the main project in the project properties (such AS the default generated by the android: icon and android: theme), at this time will merge fails, the error and the newspaper,

The solution has the following two kinds:

Method 1: in the Manifest. Under the application of XML tags to add tools: replace="the android: icon, android: theme" (multiple attributes, separated, and remember that in the Manifest on the root tag to join XMLNS: tools="http://schemas.android.com/tools", otherwise you will find the namespace)

Method 2: in the build. Gradle root tag with useOldManifestMerger true method (lazy)

Refer to the official introduction:

http://tools.android.com/tech-docs/new-build-system/user-guide/manifest-merger

CodePudding user response:

Wow,,,,,,,
  • Related