NullPointerException
NullPointerException

Reputation: 37657

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

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?

Upvotes: 59

Views: 25749

Answers (4)

zwh
zwh

Reputation: 182

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

Upvotes: 0

S&#233;bastien
S&#233;bastien

Reputation: 14831

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>

Upvotes: 21

tymbark
tymbark

Reputation: 1369

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

Upvotes: 86

vRallev
vRallev

Reputation: 5040

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

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

Upvotes: 75

Related Questions