Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android App Bundle build Error: <fusing> element is missing the 'include' attribute

I am trying to develop an android app with dynamic features.

I have added "sample" dynamic feature module to project and when i tried to build "Android App Bundle" from Android Studio, i am getting below error,

Caused by: java.util.concurrent.ExecutionException: com.android.tools.build.bundletool.exceptions.manifest.ManifestFusingException$FusingMissingIncludeAttribute: <fusing> element is missing the 'include' attribute (split: 'sample').

Dynamic feature module manifest

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:dist="http://schemas.android.com/apk/distribution"
package="com.features.dynamic.sample">
<dist:module
    dist:instant="false"
    dist:onDemand="true"
    dist:title="@string/title_sample">
    <dist:fusing include="false" />
</dist:module>
</manifest>
like image 850
scionoftech Avatar asked Mar 11 '26 16:03

scionoftech


2 Answers

dist:include="false"

just add "dist:"

like image 98
Wade Wilson Avatar answered Mar 13 '26 20:03

Wade Wilson


It should look alike this:

<dist:module
    dist:instant="false"
    dist:onDemand="true"
    dist:title="@string/title_sample">
    <dist:fusing dist:include="false"/>
</dist:module>
like image 32
Martin Zeitler Avatar answered Mar 13 '26 19:03

Martin Zeitler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!