Android : Apache POI duplicate entry: org/apache/xmlbeans/xml/stream/Location.class error

前端 未结 5 1623
庸人自扰
庸人自扰 2020-12-12 02:29

Hi I am getting following error while running my android project :

Error:Execution failed for task \':app:transformClassesWithJarMergingForDebug\'.
> com.         


        
5条回答
  •  忘掉有多难
    2020-12-12 02:58

    There are a few projects available which try to work around a number of issues when using POI on Android.

    Please take a look at the sample project https://github.com/centic9/poi-on-android/ which allows to build a single jar-file for POI on Android. It removes the duplicates and also fixes a few other issues with prohibited package names and others.

    Another project in that area is https://github.com/andruhon/android5xlsx, however it only supports an older version of POI currently.

提交回复
热议问题