小编Jo *_* Mo的帖子

如何修复泄露的"SQLiteConnection for gms数据库"

我的应用程序使用Google Play服务,在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' …
Run Code Online (Sandbox Code Playgroud)

android memory-leaks google-play-services

12
推荐指数
2
解决办法
1万
查看次数