我的课程CountDownTimer有问题。我自己给自己写了一个钟表来计算时间。当在logcat中完成倒计时时,我收到以下错误:
11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: java.lang.Throwable: Explicit termination method 'end' not called 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at dalvik.system.CloseGuard.open(CloseGuard.java:180) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at java.util.zip.Inflater.(Inflater.java:82) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.android.okhttp.okio.GzipSource.(GzipSource.java:62) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.android.okhttp.internal.http.HttpEngine.unzip(HttpEngine.java:645) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:827) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:439) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:384) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:497) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.http.GoogleHttpClient.a(SourceFile:811) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.http.GoogleHttpClient.a(SourceFile:776) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.http.GoogleHttpClient.execute(SourceFile:676) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.http.GoogleHttpClient.execute(SourceFile:660) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.auth.be.j.a(SourceFile:220) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.auth.be.appcert.a.a(SourceFile:263) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.auth.be.appcert.a.a(SourceFile:132) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.auth.be.appcert.b.a(SourceFile:43) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.auth.b.b.a(SourceFile:62) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.auth.b.a.a(SourceFile:120) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.auth.b.a.a(SourceFile:61) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.auth.be.cron.AuthCronService.a(SourceFile:44) 11-29 11:29:35.980 1689-1699/com.google.process.gapps E/StrictMode: at com.google.android.gms.gcm.al.run(SourceFile:135)
这是我的申请代码:
{{1}}
请帮忙