Jo *_* Mo 12 android memory-leaks google-play-services
我的应用程序使用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' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
Run Code Online (Sandbox Code Playgroud)
...但与SO上讨论的所有其他案例不同,我的应用程序不使用任何数据库,
相反,它似乎是来自Google Play服务数据库的泄漏.
如何解决这个问题?
Min*_*nis 35
在Android Monitor Android Player上右上角从"Firebase"更改为"仅显示所选应用程序"
| 归档时间: |
|
| 查看次数: |
10941 次 |
| 最近记录: |