I created my table structure with greenDAO and when updating the following table, I\'m getting the follwing error:
android.database.sqlite.SQLiteException: no su
When you update any fields, this updates don't refresh in the actual DB. A solution that worked for me, is delete all tables in the DB and then create all tables again. In my case, my database was empty.
See the next link: How to clean/delete greenDao database
Other option is do ALTER TABLE on existing database.
I just encountered the same problem,you can try this : check the table which is a new table or a old table ,because we always create table with "if not exists". PS: 1.I am from China,my English is poor , Pray you can understand my words. 2.the answer is for someone who will meet the same question after me.