JEXCELAPI for Android

When I added the JExcelAPI http://jexcelapi.sourceforge.net/ to the class path and run my application, I get: output write problem: should not be [ 2009-07-16 14:32:19 - xxx] Failed to convert to Dalvik format with error 2

any idea? thanks

+3
source share
1 answer

I saw this error on android when using the sample tutorial code from jexcelapi site. For example, http://www.andykhan.com/jexcelapi/tutorial.html

The fix for me was to replace CellType on the right side of the cell comparison:

For example, change:

if(a1.getType() == CellType.LABEL)

For this:

if(a1.getType() == cell.LABEL)

If the cell is filled with a .getCell (...) api sheet:

Cell cell = sheet.getCell(j, i);

Hope this helps!

0

Source: https://habr.com/ru/post/1712819/


All Articles