SQLite android column not found

It looks like you have changed the table schema inside DBHandler#onCreate() after running the app at least once. If so you need to increment DB_VERSION = 2.

The database won’t check the code inside onCreate() for a new schema on it’s own, you need to tell the database to look for changes after you have made them. The easiest way to do this is by increasing the DB_VERSION.

Leave a Comment