IllegalArgumentException: column '_id' does not exist when call to SimpleCursorAdaptor

前端 未结 4 1548
傲寒
傲寒 2020-12-16 20:28

I have a table named \"master\" with columns id, name, surname, gender, and designation

When I fire

4条回答
  •  天涯浪人
    2020-12-16 21:12

    Simple and Salty

    To overcome this problem, you have to rename the primary key field name as _id.

提交回复
热议问题