Android SQLite Table not created

后端 未结 5 613
名媛妹妹
名媛妹妹 2021-01-23 18:12

I\'m trying to create a table of statistics but for some reason, it doesn\'t create until I call StatisticsAdapter.insertEntry() for the first time. After that, I c

5条回答
  •  醉话见心
    2021-01-23 18:41

    This Problem has been happened when the app on device is lower version and you changing database (Add table, Create new DB, ...) and you install new version, now the app try to create new db but can't create and change modify on Database.

    the Solution is :

    JUST Change DATABASE_VERSION

    the app forced to create new DataBase

    GoodLuck

提交回复
热议问题