Android SimpleCursorAdapter No such column Id

后端 未结 4 685
囚心锁ツ
囚心锁ツ 2021-01-20 18:31

I have a Listview that I want to populate with information from my SQLite database with and this seemed like the most practical solution. In my debugger it says it\'s caused

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-20 18:42

    It means either column name "name" or "data" does not exist in your database table. Can you publish the table schema? Are these column names available?

提交回复
热议问题