Android java EXCEL convert pdf canot open pdf files

@wangyiqun ,

Since the fonts used in the source file are not existed in Android devices, font subsitution occours while rendering to pdf. The font subsitution may be various.

Please try to set a default font(e.g. “Roboto”) that exists on Android to reduce the variety.

Workbook doc;
doc = new Workbook(inpath);

com.aspose.cells.PdfSaveOptions pdfSaveOptions = new com.aspose.cells.PdfSaveOptions();
pdfSaveOptions.setDefaultFont("Roboto");

doc.save(inpath+".pdf", pdfSaveOptions);