我正在尝试开发具有动态功能的 android 应用程序。
我已将“示例”动态功能模块添加到项目中,当我尝试从 Android Studio 构建“Android App Bundle”时,出现以下错误,
Caused by: java.util.concurrent.ExecutionException: com.android.tools.build.bundletool.exceptions.manifest.ManifestFusingException$FusingMissingIncludeAttribute: <fusing> element is missing the 'include' attribute (split: 'sample').
动态功能模块清单
<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>