Using the new “manifestmerger” property in Android

前端 未结 4 819
情话喂你
情话喂你 2020-11-30 00:55

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:

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-30 01:42

    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.

提交回复
热议问题