The error is passed on from the native code to Java, so you have to look at possible causes of SQLite corruption. Here's a webpage on the SQLite website that lists the ones due to bugs in SQLite, and here's another titled How to corrupt your database.