我正在尝试开发具有动态功能的 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').
动态特征模块 list
<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>
最佳答案
dist:include="假"
只需添加“dist:”
关于Android App Bundle 构建错误 : <fusing> element is missing the 'include' attribute,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50869694/