android - 程序类型已经存在:org.apache.xmlbeans.Filer
问题描述
我在使用 Poi 读取 docx 文件以在 Android 中将其转换为 pdf 时遇到问题。在我的毕业典礼中,我有:
- 实现文件('libs\poi-ooxml-schemas-3.9.jar')
- 实现文件('libs\poi-ooxml-3.9.jar')
- 实现文件('libs\poi-3.9.jar')
- 实现文件('libs\xmlbeans-3.1.0.jar')
通过删除这个
- 实现文件('libs\xmlbeans-3.1.0.jar')
我的问题是这个。
- NoClassDefFoundError:解析失败:Ljava/awt/Color;
也使用 apachi poi 最新版本出现此错误。
- MethodHandle.invoke 和 MethodHandle.invokeExact 仅支持从 Android O (--min-api 26) 开始
有人可以帮助我吗?
解决方案
推荐阅读
- groovy - 尝试使用 Groovy Spock Mock 模拟两个类:GroovyCastException
- selenium - Gitlab On-Premise Runner 无法使用 Selenium Chrome 服务运行 Codeception
- python - 如何将热图与面板中的曲线结合起来
- javascript - 我不知道如何将 json 响应放入 html 元素
- python - 用函数修改列表中的每个元素,然后修改列表中的所有元素
- html - 强大的表单单选按钮样式
- java - 如何使用 MVVM 模式在 UI 中更新服务器响应
- swift - 将 FinderSync Extension appex 嵌入到 Electron 应用程序
- javascript - Firebase 身份验证未检测到登录用户
- swift - 我的 TableView 在收到 JSON 数据之前初始化。你如何防止这种情况发生?