Home > Mobile >  The problem of dependencies
The problem of dependencies

Time:02-25

The gradle:
in bulid..
Dependencies {
.
Implementation files (' libs/xmlbeans - 4.0.0. Jar)
}

Goal is to use the poi - 5.0.0 to read and write XLSX file

Tip:
AGPBI: {" kind ":" error ", "text", "Type org. Apache. Xmlbeans. Metadata. System. SXMLCONFIG. TypeSystemHolder is defined multiple times:

C: \ \ Users \ \ admin \ \. Gradle \ \ caches \ \ transforms - 2 \ \ files - 2.1 \ \ 10245 fa05f42bffba4b82ec32a80f69b \ \ jetified - xmlbeans - 4.0.0. Jar: org/apache xmlbeans/metadata/system/sXMLCONFIG/TypeSystemHolder class,
C: \ \ Users \ \ admin \ \. Gradle \ \ caches \ \ transforms - 2 \ \ files - 2.1 \ \ 10245 fa05f42bffba4b82ec32a80f69b \ \ jetified - xmlbeans - 4.0.0. Jar: org/apache xmlbeans/metadata/system/sXMLCONFIG/TypeSystemHolder class, "
"Sources" : [{" file ", "
C: \ \ Users \ \ admin \ \. Gradle \ \ caches \ \ transforms - 2 \ \ files - 2.1 \ \ 10245 fa05f42bffba4b82ec32a80f69b \ \ jetified - xmlbeans - 4.0.0. Jar "}], "tool" : "the D8}
"
Type org, apache xmlbeans. Metadata. System. SXMLCONFIG. TypeSystemHolder is defined multiple times: C: \ Users \ admin \. Gradle, caches, transforms - 2, 10245 fa05f42bffba4b82ec32a80f69b files - 2.1 \ \ jetified - xmlbeans - 4.0.0. Jar: org/apache xmlbeans/metadata/system/sXMLCONFIG/TypeSystemHolder class, C: \ Users \ admin \. Gradle, caches, transforms - 2, 10245 fa05f42bffba4b82ec32a80f69b files - 2.1 \ \ jetified - xmlbeans - 4.0.0. Jar: org/apache xmlbeans/metadata/system/sXMLCONFIG/TypeSystemHolder class

Duplicate class org, apache xmlbeans. Metadata. System. SXMLCONFIG. TypeSystemHolder found in modules jetified - xmlbeans - 4.0 (xmlbeans - 4.0.0. Jar) and jetified - xmlbeans - 4.0 (xmlbeans - 4.0.0. Jar)
Duplicate class org, apache xmlbeans. Metadata. System. SXMLLANG. TypeSystemHolder found in modules jetified - xmlbeans - 4.0 (xmlbeans - 4.0.0. Jar) and jetified - xmlbeans - 4.0 (xmlbeans - 4.0.0. Jar)
Duplicate class org, apache xmlbeans. Metadata. System. SXMLSCHEMA. TypeSystemHolder found in modules jetified - xmlbeans - 4.0 (xmlbeans - 4.0.0. Jar) and jetified - xmlbeans - 4.0 (xmlbeans - 4.0.0. Jar)
Duplicate class org, apache xmlbeans. Metadata. System. SXMLTOOLS. TypeSystemHolder found in modules jetified - xmlbeans - 4.0 (xmlbeans - 4.0.0. Jar) and jetified - xmlbeans - 4.0 (xmlbeans - 4.0.0. Jar)


Android studio 4.1.2 is a great god, and how to deal with this? Thank you

CodePudding user response:

There,,, I can't see this error, is all some normal print
  • Related