Android duplicate class error when including Apache POI

后端 未结 2 1624
感动是毒
感动是毒 2021-01-18 04:22

I\'ve got a problem with the apache poi excel api (xlsx). I\'m using android studio and I\'ve added the poi libs to the \"libs\" folders. This error is popping up for some r

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-18 04:32

    The xmlbeans 2.6 JAR from Maven Central contains some duplicate class entries. The XMLBeans JIRA has an issue open for the problem. Until they publish a new JAR, I think I'm going to unzip the jar, which will overwrite the duplicates, then re-zip it up and put it in my libs dir for now.

提交回复
热议问题