https://bz.apache.org/bugzilla/show_bug.cgi?id=69288
--- Comment #2 from samo.re...@gmail.com --- > https://github.com/centic9/poi-on-android/ I am aware of that project. We don't use it anymore though. It's a bit finicky to get it to work, especially the shadowJar Gradle plugin. It turns out XLSX import/export works well without it anyway. You only need to use the Aalto XML library and run these commands: System.setProperty( "org.apache.poi.javax.xml.stream.XMLInputFactory", "com.fasterxml.aalto.stax.InputFactoryImpl" ); System.setProperty( "org.apache.poi.javax.xml.stream.XMLOutputFactory", "com.fasterxml.aalto.stax.OutputFactoryImpl" ); System.setProperty( "org.apache.poi.javax.xml.stream.XMLEventFactory", "com.fasterxml.aalto.stax.EventFactoryImpl" ); > Can you state which version of POI you use and how you run Apache POI on > Android here? This is our version catalog. I just upgraded from 5.2.5 to 5.3.0. The issue persists though. aalto-xml = { module = "com.fasterxml:aalto-xml", version = "1.3.3" } poi-ooxml = { module = "org.apache.poi:poi-ooxml", version = "5.3.0" } xmlbeans = { module = "org.apache.xmlbeans:xmlbeans", version = "5.2.1" } I found this commit that claims to fix the issue of the missing FontRenderContext class: https://github.com/LePat/poi-on-android/commit/d38372bd33860088c533f0838ee8830b3a945859 But I'm not sure how they got it to work - it seems like java.awt.geom.AffineTransform class is still missing. Given that: 1) POI works well on Android without issues 2) We can set column widths statically 3) The commit above claims to have fixed the NoClassDefFoundError error It seems like only changing the if condition on SXSSFSheet.java:111 would fix the streaming APIs on Android. Maybe the new condition could even be if(!e.getMessage().contains(".awt."))? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org