Caused by: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow.
Make sure the Cursor is initialized correctly before accessing data from it.
传入的键在数据库表中实际上不存在
解决方案:
一般问题出现的原因是键的名字拼写错误,设计数据库名字的时候使用一些final字符串防止拼写错误即可。
Caused by: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow.
Make sure the Cursor is initialized correctly before accessing data from it.
传入的键在数据库表中实际上不存在
解决方案:
一般问题出现的原因是键的名字拼写错误,设计数据库名字的时候使用一些final字符串防止拼写错误即可。