Using the new “manifestmerger” property in Android

前端 未结 4 825
情话喂你
情话喂你 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:56

    I was facing some errors during manifest merging (R.java file went missing) so alternately I explicitly copied the manifest contents (e.g. I copied just the activity contents) from the library project manifest and put them in my main project manifest. That resolved the error and everything seems to be working well so far. Let me know if anyone feels this is not a recommended alternative to manifest merging.

提交回复
热议问题