Closed ldjhust closed 7 years ago
Hi @ldjhust , to export the AndroidManifest.xml from the android_library, set exports_manifest = 1
on the android_library. Note that in the next Bazel release, the default value of exports_manifest will change from 0 to 1, so it will no longer be required to explicitly set it.
Sorry for the confusion!
OK, Thanks very much!
Hi guys, my android project contains some module, and each module has its own AndroidManifest.xml, I have already set the
manifest_merger = "android"
inandroid_binary
rule, but the module's AndroidManifest.xml looks like still doesn't in the final AndroidManifest.xml.So, what's the problem here? Thanks very much for any help!
My
android_binary
rule:The
:base_lib
is a module (ie, anandroid_library
rule), and it has its own AndoridManifest.xml, but the final AndroidManifest.xml doesn't contain its contents.