完整的错误信息如下:
Couldn't read row 0, col -1 from CursorWindow.
Make sure the Cursor is initialized correctly before accessing data from it.
经过反复排查,发现是自己代码的问题,需要注意以下两点:
1. 检查列名拼写是否错误
2. 如果确定列名没有拼写错误,请检查使用的列是否在sql语句返回的列里面(可以使用getColumns获取所有列)
完整的错误信息如下:
Couldn't read row 0, col -1 from CursorWindow.
Make sure the Cursor is initialized correctly before accessing data from it.
经过反复排查,发现是自己代码的问题,需要注意以下两点:
1. 检查列名拼写是否错误
2. 如果确定列名没有拼写错误,请检查使用的列是否在sql语句返回的列里面(可以使用getColumns获取所有列)