using Apache POI with Android

android, apache-poi

Solution

Promoting a comment to an answer... Apache POI has a small number of dependencies, which are fully listed on the Components page on the website. You need to include the dependencies of whichever POI modules you're using. In your case, the exception you got indicated that the Commons Codec library was missing, adding that solves the issue.

Problem

I have a tried and tested code to get information from an Excel file. It works wonders in java. However, when I try to use it in Android, I get this: ``` 11-30 13:26:24.339: I/dalvikvm(9762): Could not find method org.apache.commons.codec.digest.DigestUtils.md5, referenced from method org.apache.poi.hssf.usermodel.HSSFWorkbook.addPicture ``` So, when I try to read a row, it always returns null. How can I fix this problem?

Original source