I'm trying to convert to HTML on android, but I'm getting the error
- Code: Select all
java.lang.IllegalAccessError: Method 'java.lang.Class org.apache.xalan.extensions.ExtensionHandler.getClassForName(java.lang.String)' is inaccessible to class 'org.apache.xalan.extensions.ExtensionHandlerJavaPackage' (declaration of 'org.apache.xalan.extensions.ExtensionHandlerJavaPackage' appears in /data/app/~~ZVtmRtuHfRuZhq2toABrQA==/com.example.myapplication-ahlQie1BfblXFLdcJxSU1Q==/base.apk!classes3.dex)
I'm using the jar from https://github.com/plutext/Docx4j4Android4
I'm thinking I'll need to reshade the docx4j jar to mark that class as public, as it seems that it use used as such.
I was wondering if Mr. Plutext could point me towards his shading settings to make my life easier.