What is the Merged Manifest in Android?

房东的猫 提交于 2019-12-11 03:04:12

问题


I am trying to understand the purpose of the Merged Manifest in the Android Studio. Which kind of Information, I can encode exploring this file. Can any one please share their views. Thanks in Advance.


回答1:


Your APK file can contain just one AndroidManifest.xml file, but your Android Studio project may contain several—provided by the main source set, build variants, and imported libraries. So when building your app, the Gradle build merges all manifest files into a single manifest file that's packaged into your APK.

The manifest merger tool combines all XML elements from each file by following some merge heuristics and by obeying merge preferences that you have defined with special XML attributes.

I have included the summary about the merger manifest.

You can read more about it here



来源:https://stackoverflow.com/questions/52261267/what-is-the-merged-manifest-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!