Dalvik error using Doc to HTML android docx4j

95 views Asked by At

I am just using the code at https://github.com/plutext/AndroidDocxToHtml for converting doc to html but I am getting Conversion to Dalvik format failed with error 1. What is the issue?

2

There are 2 answers

0
Stone Edge On BEST ANSWER

You have to delete serializer-2.7.1.jar from the libs folder, remove it from your dependencies or build path. Doing only this may work for some people, but I had another error :

(Conversion to Dalvik format failed: Unable to execute dex:)

If you get this error, just add jumboMode=true to your project.properties (if you work with Eclipse)

Hope this answer doesn't come too late!

0
Undi On

This library allows converting only .DOCX files. DOC files is unsupported in this library.