Java 仅使用xwpf类创建poi-ooxml-schemas.jar
我可以知道如何重新编译吗 poi-ooxml-schemas.jar 只有 11448 org.openxmlformats.schemas.wordprocessingml.x2006.main 9217 org.openxmlformats.schemas.wordprocessingml.x2006.main.impl 当我试图在android ADT包中编译时,我一直遇到这个错误 我只使用XWPF,并设法从ApachePOI中缩小到所需的类 但我仍然面临着同样的“太多方法”Java 仅使用xwpf类创建poi-ooxml-schemas.jar,java,android,apache-poi,Java,Android,Apache Poi,我可以知道如何重新编译吗 poi-ooxml-schemas.jar 只有 11448 org.openxmlformats.schemas.wordprocessingml.x2006.main 9217 org.openxmlformats.schemas.wordprocessingml.x2006.main.impl 当我试图在android ADT包中编译时,我一直遇到这个错误 我只使用XWPF,并设法从ApachePOI中缩小到所需的类 但我仍然面临着同样的“太多方法” 我似乎找不
在apache网站上,上面说,我不擅长maven或ant。我可以知道是否可以只使用xwpf所需的类创建poi-ooxml-schemas.jar吗因为jar只是一个具有特定结构和元数据的zip文件,您能不能从zip中删除不需要的部分(如spreadsheetml)?我做了,但我想做得很好。。会有一些依赖性吗?Word不会依赖于电子表格,除非您在.docx中嵌入了.xlsx文件。它将取决于公共部分、元数据部分等CDID您解决了这个问题吗?我面临着同样的问题,不知道哪些文件可以删除。从来没有。无法执行此操作,因为Android JDK不支持@Annotation。
trouble writing output: Too many methods: 66024; max is 65536. By package:
13 java.lang
1 java.lang.reflect
5 java.util
1 javax.xml.namespace
66 org.apache.xmlbeans
19 org.apache.xmlbeans.impl.values
1 org.apache.xmlbeans.impl.xb.xmlschema
2500 org.openxmlformats.schemas.drawingml.x2006.chart
1430 org.openxmlformats.schemas.drawingml.x2006.chart.impl
8767 org.openxmlformats.schemas.drawingml.x2006.main
5258 org.openxmlformats.schemas.drawingml.x2006.main.impl
86 org.openxmlformats.schemas.drawingml.x2006.picture
33 org.openxmlformats.schemas.drawingml.x2006.picture.impl
745 org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing
417 org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.impl
230 org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing
164 org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.impl
298 org.openxmlformats.schemas.officeDocument.x2006.customProperties
256 org.openxmlformats.schemas.officeDocument.x2006.customProperties.impl
617 org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes
596 org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.impl
285 org.openxmlformats.schemas.officeDocument.x2006.extendedProperties
196 org.openxmlformats.schemas.officeDocument.x2006.extendedProperties.impl
23 org.openxmlformats.schemas.officeDocument.x2006.math
24 org.openxmlformats.schemas.officeDocument.x2006.relationships
2 org.openxmlformats.schemas.officeDocument.x2006.relationships.impl
2076 org.openxmlformats.schemas.presentationml.x2006.main
1224 org.openxmlformats.schemas.presentationml.x2006.main.impl
1 org.openxmlformats.schemas.schemaLibrary.x2006.main
7271 org.openxmlformats.schemas.spreadsheetml.x2006.main
4556 org.openxmlformats.schemas.spreadsheetml.x2006.main.impl
11448 org.openxmlformats.schemas.wordprocessingml.x2006.main
9217 org.openxmlformats.schemas.wordprocessingml.x2006.main.impl
4 schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707
1170 schemasMicrosoftComOfficeExcel
1223 schemasMicrosoftComOfficeExcel.impl
285 schemasMicrosoftComOfficeOffice
124 schemasMicrosoftComOfficeOffice.impl
2 schemasMicrosoftComOfficePowerpoint
3 schemasMicrosoftComOfficeWord
2858 schemasMicrosoftComVml
2529 schemasMicrosoftComVml.impl
[2013-04-27 10:20:02 - TestProject] Conversion to Dalvik format failed with error 2