Android Studio FAQ Solution

Source: Internet
Author: User

1, Error:execution failed for task ': Xxxx:processdebugmanifest '.

> Manifest merger failed with multiple errors, see logs

Reason:

The Gradle plugin for as will enable the manifest merger Tool by default, and if the same properties as the master project are defined in the library project (such as the default generated Android:icon and Android:theme), the merge fails at this time. and report the above error.

There are 2 ways to solve the problem:

Method 1: Add Tools:replace= "Android:icon, Android:theme" under Manifest.xml's Application tab (multiple attributes are separated, and remember to add xmlns on the manifest root tag) : tools= "Http://schemas.android.com/tools", otherwise you will not find namespace OH)

Method 2: Add Useoldmanifestmerger True on the Build.gradle root label (lazy method)

Reference text:

http://blog.csdn.net/codezjx/article/details/38669939

Refer to the official introduction:

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

Android Studio FAQ Solution

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.