I am using eclipse not android studio. I have already read previous questions on stackoverflow and I have tried all sorts of solutions from enabling progaurd, enabling dexjumbo, importing multidex project and jar in eclipse etc. Nothing helped my issue. I am stuck in this issue for 2 days. I have already removed all the unneccessary jar files from libs by trial and error running the app. Now i am left with all thats necessary and still I get the error.
What am I trying to do?
I am actually trying to read a docx file from internal storage using docx4j on android device. I have made an independent app which works fine. I have tested reading, writing and conversion in independent projects of eclipse but now that I want to integrate my code onto a group project, I get this error. It has 3 more other jar files which are required for other processes. I have removed 8 jars which didn't change the output in independent project and am left with 10.
As per docx4j - "Dalvik limit of 65536 method references per dex file is more an issue running docx4j on Android than one related to JAXB, but it is worth noting. We’re running very close to this limit."
Now whats next? I have no other option than to either try Pre-Dexing as per this article: https://fuzzproductions.com/news/the-my ... mit-solved or remove this 65k limit some how. Please tell me how do I fix this issue for both case. Give me some ideas as I can't remove any more jars.
Link to image of jars I am using: http://i.stack.imgur.com/ksUxn.png
If anyone can tell me the necessary classes to use instead of jar ae-awt. That will be great.