I have this error when I want to build a bundle application:
Building app bundle Error
[BT:1.5.0] Error: At most one element <uses-sdk> with namespace '' was expected, but 2 were found.
com.android.tools.build.bundletool.model.utils.xmlproto.XmlProtoException: At most one element <uses-sdk> with namespace '' was expected, but 2 were found.
at com.android.tools.build.bundletool.model.utils.xmlproto.XmlProtoElementOrBuilder.getOptionalChildElement(XmlProtoElementOrBuilder.java:134)
at com.android.tools.build.bundletool.model.utils.xmlproto.XmlProtoElementOrBuilder.getOptionalChildElement(XmlProtoElementOrBuilder.java:141)
at com.android.tools.build.bundletool.model.AndroidManifest.getUsesSdkAttribute(AndroidManifest.java:287)
at com.android.tools.build.bundletool.model.AndroidManifest.getMinSdkVersion(AndroidManifest.java:258)
at com.android.tools.build.bundletool.model.AndroidManifest.getEffectiveMinSdkVersion
I can't find a solution on the forum.
I think I followed the instructions to make a bundle app.
Has anyone had this error before?
Building app bundle Error
[BT:1.5.0] Error: At most one element <uses-sdk> with namespace '' was expected, but 2 were found.
com.android.tools.build.bundletool.model.utils.xmlproto.XmlProtoException: At most one element <uses-sdk> with namespace '' was expected, but 2 were found.
at com.android.tools.build.bundletool.model.utils.xmlproto.XmlProtoElementOrBuilder.getOptionalChildElement(XmlProtoElementOrBuilder.java:134)
at com.android.tools.build.bundletool.model.utils.xmlproto.XmlProtoElementOrBuilder.getOptionalChildElement(XmlProtoElementOrBuilder.java:141)
at com.android.tools.build.bundletool.model.AndroidManifest.getUsesSdkAttribute(AndroidManifest.java:287)
at com.android.tools.build.bundletool.model.AndroidManifest.getMinSdkVersion(AndroidManifest.java:258)
at com.android.tools.build.bundletool.model.AndroidManifest.getEffectiveMinSdkVersion
I can't find a solution on the forum.
I think I followed the instructions to make a bundle app.
Has anyone had this error before?