Android Studio error “Manifest merger failed with multiple errors, see logs” solution

Error:Execution failed for task 'XXX :processDebugManifest'. > Manifest merger failed with multiple errors, see logs
problem solution.

added a new item as a dependency to the original project today, after a series of configurations in the Manifest, this error occurs for gradle.
The Gradle plug-in for AS enables the Manifest Merger Tool by default, and if the same attributes AS the main project are also defined in the Library project (such AS the default-generated Android:icon and Android: Theme), then the merge fails and the error is reported.
In the manifest is joined on the root tag XMLNS: tools = "" , and in the manifest. The application of XML tags add tools: replace = "icon, label, the theme" (multiple attributes, separated, as the case may be). Or tools: replace = "the android: icon, android: label, android: theme" official method for reference

Read More: