I have a very simple question: How to create .docx and .xlsx files on Android. Before someone marks this as duplicate, let me tell you that
normally you only must to do this:
FileOutputStream archivoSalida;
HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sht = wb.createSheet("Conciliacion");
...
...
archivoSalida = new FileOutputStream(fileDestination);
wb.write(archivoSalida);
archivoSalida.close();
But it seems that your problem is not in the code. Is in the libraries and the compilation. I'am wrong?