我的 android 应用程序因严格模式违规消息而崩溃,其中包含导致问题的任何特定信息。当我使用我的应用程序配置 FCM 并且我现在没有使用 FCM 执行网络操作时,崩溃开始出现。我刚刚配置它并开始出现崩溃。
应用程序很大,我无法一一检查所有 API 调用。
这是堆栈跟踪
E/StrictMode: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
java.lang.Throwable: Explicit termination method 'close' not called
at dalvik.system.CloseGuard.open(CloseGuard.java:180)
at android.database.CursorWindow.<init>(CursorWindow.java:111)
at android.database.AbstractWindowedCursor.clearOrCreateWindow(AbstractWindowedCursor.java:198)
at android.database.sqlite.SQLiteCursor.clearOrCreateWindow(SQLiteCursor.java:300)
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:138)
at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:132)
at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:219)
at android.database.AbstractCursor.moveToFirst(AbstractCursor.java:258)
at com.google.android.gms.internal.zzatg.zza(Unknown Source)
at com.google.android.gms.internal.zzatg.zza(Unknown Source)
at com.google.android.gms.internal.zzatw.zzc(Unknown Source)
at com.google.android.gms.internal.zzatu.zzb(Unknown Source)
at com.google.android.gms.internal.zzatu.zza(Unknown Source)
at com.google.android.gms.internal.zzatu$4.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at com.google.android.gms.internal.zzato$zzd.run(Unknown Source)
请帮助我调试问题或指出一个可以给我一些具体答案的方向。