来自com.google.android.gms的错误
问题描述:
我发现了设备模拟器的异常。它来自com.google.android.gms
。来自com.google.android.gms的错误
1116-31507/com.google.android.gms E/CursorLeakDetecter﹕ PossibleCursorLeak:content://com.google.android.gms.common.stats.net.contentprovider/networkrawreport,QueryCounter:5
android.database.sqlite.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here
at android.content.ContentResolver.query(ContentResolver.java:399)
at android.content.ContentResolver.query(ContentResolver.java:316)
at com.google.android.gms.common.stats.net.NetworkReportService.a(SourceFile:141)
at com.google.android.gms.gcm.am.run(SourceFile:129)
答
要么你打电话getReadableDatabase()方法两次 或确保关闭数据库之前关闭游标。
发布您的代码... –
发布您的代码,以解决您的问题... – johnrao07
它不是来自GCM它是从您的数据库光标,你忘了关 –