I am trying to clear a table that has autoincrement key.
I am trying to do the following, by i get an exception.
protected void clearSqliteSequenceTable
Just modify your query
from
String query = "delete from sqlite_sequence where name = business";
to
String query = "delete from sqlite_sequence where name = \'business\' ";
I have tried its working fine :-)