failed to read row 0,column -1

后端 未结 4 1743
天命终不由人
天命终不由人 2021-02-18 15:53

I am trying to copy a database that I made with SQLite manager, in which I did:

CREATE TABLE \"android_metadata\" (\"locale\" TEXT DEFAULT \'en_US\')
         


        
4条回答
  •  -上瘾入骨i
    2021-02-18 16:16

    Before you start reading the consecutive values by using c.moveToNext() , set the cursor to the initial position, that is the beginning of your database.

    c.moveToFirst()

    and then start reading form it.

    Might solve your problem.

提交回复
热议问题