Question

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.

Was it helpful?

Solution

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

cursor.close();
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top