Search code examples
androidandroid-studioapkbuild.gradleandroid-app-bundle

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>

Solution

  • dist:include="false"

    just add "dist:"