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