Android
[error]Android SQLite Error : java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow.
((•_•))
2021. 1. 29. 14:49
항상 오류를 해결하고 보면 내가 죄인이다.
컴퓨터는 잘못을 하지 않는다. 내가 다아아 잘못했다.
오류 트레이서:
짤린부분은,
java.lang.IllegalStateException:Couldn't read row 0, col -1 form CursorWindow. Make sure the Cursor is initialized correctly before accessing data for it.
결국 내가 table 칼럼 명을 잘못썼따. 그래서 cursor가 읽지를 못했다. 내가 죄인이다.
ColumnName을 똑바로 쓰자!