Using the new "manifestmerger" property in Android

android developer picture android developer · Jun 11, 2012 · Viewed 24.2k times · Source

In the newest version of ADT (version 20 preview 3), they say that it's possible to make the libraries' manifest file become mergeable with projects that use them:

Automatic merging of library project manifest files into the including project's manifest. Enable with the manifestmerger.enabled property.

How and where do I use it? I can't see content assist helping with me on this anywhere.

Answer

Kevin McMahon picture Kevin McMahon · Jun 27, 2012

Add the following line to your project.properties file of your application project.

manifestmerger.enabled=true 

Introduced with Android SDK Tools, Revision 20 (June 2012):
https://developer.android.com/studio/releases/sdk-tools

Build System
    * Added automatic merging of library project manifest files into the including project's manifest.       Enable this feature with the manifestmerger.enabled property.