Manifest merger failed with multiple errors, see logs--Android Studio Issues Summary

Source: Internet
Author: User

FAQ:
> Manifest merger failed with multiple errors, see logs


Solve:

There are about three reasons why this problem occurs

# First, the manifest file is wrong, this error will not be pointed out at compile time, of course, as can still be seen in the red on the side.


# Second, the introduction of the three-party package exists the same name as the label icon
Workaround: The manifest file declares the tools scope with the Toolsmanifest header:
Xmlns:tools= "Http://schemas.android.com/tools"
Then use tools in application to replace the node with the error, such as:
The solution is to add such a statement to your "processdebugmanifest"module mainifest:
    <application        android:allowBackup="true"        android:label="@string/app_name" tools:replace="label,allowBackup">

This means that if the merge is manifest, replace it with the Allowbackup and label values elsewhere.


# and the third one says the SDK version conflict
Workaround: One is to modify targetsdkversion to be consistent or not conflict
Second, if you cannot modify it for some reason, force the merge in the manifest file

Manifest merger failed with multiple errors, see logs--Android Studio Issues Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.