A SQLiteConnection object for database '/data/user/0/com.google.android.gms/

运行程序时报错如下:

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.

解决办法:在 Android Studio中, Android Monitor的右边下拉框更改 "Firebase" 成 "Show only selected application"


你可能感兴趣的:(A SQLiteConnection object for database '/data/user/0/com.google.android.gms/)