문제

LogCat keeps on showing me a

Cursor finalized without prior close()

warning.

I was using SQLite on a previous version of the app, but don't use it anymore.

I tried to find the cause for this warning with no luck. some Google and Stackoverflow references say it's related to the db.

What does this warning mean? should I ignore it?

I could supply a sample code but I don't have an idea which part of my app causes this. there is also no stack trace added.

EDIT: Apparently a cursor is being used by a 3rd party dependency that I'm using, which is causing this warning.

도움이 되었습니까?

해결책

Exactly what your warning says, you have some cases that you didn't use

cursor.close();
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top