My SQLite database is missing a column which I know exists. I will not be able to pull the database from the Android Emulator, because there is no way to populate it with th
the answer was that the last column did not have a space in the declaration
+ KEY_QUANTITY + " TEXT,"
+ KEY_CHECKEDOUT + "INTEGER"
+ ");";
should have been
+ KEY_QUANTITY + " TEXT,"
+ KEY_CHECKEDOUT + " INTEGER"
+ ");";
sigh
Sorry, I don't seem to be able to write this as a comment, so I put it down as an answer:
I assume you created the table with an earlier version of your program, where there was no "checkedout" column. Now the table is not recreated, because you include "IF NOT EXISTS" in your query.
Try to remove the table first!