SQLiteException: no such table

后端 未结 9 598
礼貌的吻别
礼貌的吻别 2021-01-06 08:26

I am using my own SQLite3 database as opposed to creating a new one each time my app runs, as I have a few tables with static data that I am trying to display. I created my

9条回答
  •  -上瘾入骨i
    2021-01-06 09:04

    Whenever you create new table in an existing database the table doesnt create because the OnCreate function of database handler will not be called everytime but only if required(like database not initiated). If that is not the case your newly created table actually hasnt created. Clear the data to force the db to instantiate itself.

提交回复
热议问题