My application, which uses Google Play Services, received the following warning in the logcat
12-06 12:53:58.240 2748-2757/com.google.android.gms W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/data/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.
12-06 12:53:58.240 2748-2757/com.google.android.gms W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/data/com.google.android.gms/databases/help_responses.db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
12-06 12:53:58.240 2748-2757/com.google.android.gms W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/data/com.google.android.gms/databases/auto_complete_suggestions.db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
...but unlike all the other cases discussed on SO, my application does not use any databases,
rather, it seems to be a leak from a database of Google Play Services.
How would one fix that?
In Android Studio on Android Monitor right corner change from "Firebase" to "Show only selected application"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With