"No Such Table" Error found in SQLite Android

I have written a ORM framework for that. https://github.com/ahmetalpbalkan/orman

You can easily write Android applications using SQLite with that. It uses your Java classes (Book, in this case) as database tables (entities).

It even creates your table automatically and you just say book1.insert(), done.


There is an older version of the database on your device, which does have the (empty) database in place, but not the books table. If that's an option for you, just uninstall and reinstall the app.

Later, when you'd like to add a new table to the database during production on end-user devices, but keep existing data, the designated hook to add new tables, alter the schema or upgrade your data is the onUpgrade method of your SQLiteOpenHelper.


You must uninstall the applcation and then reinstall it. It should work after that.