Hi Aspose Team,
I am converting .HTML file to .DOCX file, It is working fine in Android 5.0,6.0 and 7.0 OS versions but getting the below exception in Android 8.0 OS version.
JNI DETECTED ERROR IN APPLICATION: illegal class name ‘Ljava/lang/OutOfMemoryError;’
I am using aspose-words-19.2-java library.
following is the source code.
License license = new License();
InputStream isr = getResources().openRawResource(R.raw.license);
license.setLicense(isr);
String source_file_name = "/storage/emulated/0/GeneratedTemplate.html";
String file_name = "/storage/emulated/0/GeneratedTemplate.docx";
Document d = new Document(source_file_name);
d.save(file_name, SaveFormat.DOCX);
Thanks,
Mahesh T.