The cursor might not be initalized.
You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.
In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID
Check if there's no missing comma or semicolon in your sql declarations.
You have a different solution? A short tip here would help you and many other users who saw this issue last week.
- java.lang.IllegalStateException: Couldn''t read row 122, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. at android.database.CursorWindow.nativeGetString(Native Method)