Sqlite Leak without having any class using Sqlite

Asked

Viewed 54 times

0

Good evening, everyone,

I’m building an Android app and the last thing I need is to build the local bank.

I built it but I realized that errors of memory appeared Eak, I thought I had fixed but the same warnings continued appearing on the console, even when uninstall the emulator application and comment on all database classes and their uses (that is, nowhere in my app Sqlite is used), appear the following warnings:

04-04 23:06:12.464 2281-2291/com.google.android.gms W/Sqliteconnectionpool: A Sqliteconnection Object for database '/data/user/0/com.google.android.gms/Databases/Metrics.db' was leaked! Please fix your application to end transactions in Progress properly and to close the database when it is no longer needed.

This error appears exactly the same for these guys:

/data/user/0/com.google.android.gms/Databases/help_responses.db /data/user/0/com.google.android.gms/Databases/auto_complete_suggestions.db /data/user/0/com.google.android.gms/Databases/Metrics.db /data/user/0/com.google.android.gms/Databases/help_responses.db /data/user/0/com.google.android.gms/Databases/auto_complete_suggestions.db /data/user/0/com.google.android.gms/Databases/Metrics.db /data/user/0/com.google.android.gms/Databases/help_responses.db /data/user/0/com.google.android.gms/Databases/auto_complete_suggestions.db

Any idea what to do to remove these Leaks? Especially because EVEN WITHOUT SQLITE they appear :(

  • 1

    The problem seems to be in Google API and not in your program. According to this reply go to Settings - Apps - Google Play Services - MANAGE SPACE and make CLEAR ALL DATA solves the problem.

  • @ramaral I had found this question and did not solve, when I turn again happens the same thing :/

  • See if you’re using the latest versions of Google Api’s.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.