I want to use the JExcel API to read contents of an excel file.
I have done till now the following things:
1. followed all the steps at http://www.andykhan.com/jexcelapi/tutorial.html
2. and at http://retrotranslator.sourceforge.net/#android
3. In Eclipse at Project -> Properties -> Java Build Path -> Add Library -> User Library -> excel [system library]
i added the required library.
When i run the app in debug mode the programm shows in debug trace window the following error:
InvocationTargetException.<init>(Throwable) line: 56
and in LogCat displays the following:
11-10 21:32:17.192: ERROR/dalvikvm(1194): Could not find method jxl.Workbook.getWorkbook, referenced from method my.android.CustomFile.readFromExcelFile
- Code: Select all
String sFile = Environment.getExternalStorageDirectory()+"/"+this.sCustFile;
Workbook workbook = Workbook.getWorkbook(new File(sFile ));
Can someone help me because i am trying a few days without success.
THX for helps