MANIFEST MERGER: It is possible to see the resulting mixed Manifest?

23k Views Asked by At

I have a library module with a huge manifest. Also i have a application module with a huge manifest very similar to my library manifest but with package name changes. Now i want to see the resulting mixed manifest of Manifest Merger process.

How can i see it?

4

There are 4 best solutions below

4
On BEST ANSWER

You find the manifest in your build folder, e.g.

/project/module/build/intermediates/manifests/full/debug/AndroidManifest.xml

0
On

Another useful info about how to generate the merged manifest:

./gradlew process<flavor_name>Manifest

Just replace the flavor name with the target one, like debug/release etc.

./gradlew processReleaseManifest

1
On

The Merged Manifest tab in Android Studio is useful to check the source of entries, but it's very limited (you can't select or search the text).

I prefer opening the merged manifest XML file directly, which is located here: <project>/<module>/build/intermediates/merged_manifests/<build_flavor_name>

3
On

In Android Studio 3.3 you can also see Merged Manifest by clicking on Merged Manifest tab. It's showed at the bottom of the editor pane when you open your standard project manifest.

enter image description here

see documentation: Merge multiple manifest files