我正在运行模拟器,并收到以下有关内存泄漏的错误.有趣的是,泄露的数据库似乎是Google gms而不是用户数据库.有谁知道如何解决它?谢谢!
09-27 15:55:07.252 2058-2068/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. 09-27 15:55:07.255 2058-2068/com.google.android.gms W/sqliteConnectionPool: A sqliteConnection object for database '/data/user/0/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. 09-27 15:55:07.259 2058-2068/com.google.android.gms W/sqliteConnectionPool: A sqliteConnection object for database '/data/user/0/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.
解决方法
打开设置 – 应用程序 – Google Play服务 – 管理空间 – 清除所有数据