Hello
I want to convert a doc/docx file to pdf. After many research about that and test lots of library like apache poi , … I see that all of them have some problems with android so I wanted to test aspose library for my purpose and faced to this error while I select a document.
(I use aspose.word-android-via-java-17.5 as library)
Here is stack trace:
threadid=1: thread exiting with uncaught exception (group=0x4180
: java.lang.NoClassDefFoundError: com.aspose.words.zzZ7R
: at com.aspose.words.DocumentBase.(Unknown Source)
: at com.aspose.words.Document.(Unknown Source)
: at com.aspose.words.Document.(Unknown Source)
: at com.aspose.words.Document.(Unknown Source)
and this line of code have exception:
<pre style=“font-family: “Courier New”; font-size: 9pt;”>String src = “/storage/emulated/0/a.docx”;//something like this
<pre style=“font-family: “Courier New”; font-size: 9pt;”>Document doc = new Document(src);<pre style=“font-family: “Courier New”; font-size: 9pt;”>
<pre style=“font-family: “Courier New”; font-size: 9pt;”>Does anyone help me to correct this?
<pre style=“font-family: “Courier New”; font-size: 9pt;”>Does anyone help me to correct this?