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

前端 未结 4 1547
傲寒
傲寒 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:14

    Your namemaster tables needs to have a column _ID defined to be used by SimpleCursorAdaptor. Make sure your table schema includes _ID and not an id as the later is wrong.

提交回复
热议问题