运行仿真器时,android – SQLiteConnection数据库泄漏

前端之家收集整理的这篇文章主要介绍了运行仿真器时,android – SQLiteConnection数据库泄漏前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在运行模拟器,并收到以下有关内存泄漏的错误.有趣的是,泄露的数据库似乎是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服务 – 管理空间 – 清除所有数据
原文链接:https://www.f2er.com/android/311977.html

猜你在找的Android相关文章