StrictMode: Explicit termination method 'end' not called
See original GitHub issueFirebase crashlytics version :17.0.0
Stack Trace
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 'end' not called
at dalvik.system.CloseGuard.open(CloseGuard.java:184)
at java.util.zip.Inflater.<init>(Inflater.java:82)
at java.util.zip.ZipFile.getInputStream(ZipFile.java:331)
at java.util.jar.JarFile.getInputStream(JarFile.java:390)
at libcore.net.url.JarURLConnectionImpl.getInputStream(JarURLConnectionImpl.java:222)
at java.net.URL.openStream(URL.java:470)
at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:444)
at java.lang.Class.getResourceAsStream(Class.java:1334)
at com.google.android.gms.common.internal.LibraryVersion.getVersion(Unknown Source)
at com.google.firebase.iid.zzt.zzb(com.google.firebase:firebase-iid@@20.1.5:61)
at com.google.firebase.iid.zzt.zza(com.google.firebase:firebase-iid@@20.1.5:72)
at com.google.firebase.iid.zzs.run(com.google.firebase:firebase-iid@@20.1.5)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source)
at java.lang.Thread.run(Thread.java:818)
StrictMode VmPolicy violation with POLICY_DEATH; shutting down.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Explicit termination method 'end' not called - Stack Overflow
I found somebody complaining of seeing the same StrictMode failure when using Google AdMob SDK (https://groups.google.com/forum/?fromgroups=#! ...
Read more >Strict Mode Error: Explicit termination method 'close' not called ...
E/StrictMode: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource ...
Read more >java.lang.Throwable: Explicit termination method 'close' not ...
E/StrictMode(10704): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
Read more >Android Strict Mode complaining HttpURLConnection is never ...
I'm seeing the same Throwable: Explicit termination method 'end' not called when trying to use HttpURLConnection.getResponseCode in my own code, ...
Read more >Strict Mode “A resource was acquired at attached stack trace ...
Throwable: Explicit termination method 'close' not called 10-29 16:11:22.605: E/StrictMode(1121): at dalvik.system.CloseGuard.open(CloseGuard.java:184)
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mrwillis21 Seems like the issue is resolved in
17.2.1
. Thanks for the fix.@mrwillis21 Thanks for notifying. I’ll try running a couple builds using this version and will update you by the end of this week.