Android Question How to solve : Log: A connection to (...) was leaked, Did you forget to close a response body?

Maodge

Member
Licensed User
Hi,
I found it in the test log:
1609075072456.png

1609075155733.png

How to slove it?
only firebaseadmob ads in my project use network. and I does not find some method like ads.close() or ads.destroy() in firebaseadmob lib.
Thanks.

** Activity (kaipin) Pause, UserClosed = false **
No wakelock.
jank_removeInvalidNode jank list is null
Skipping new config:{1.30001 460mcc3mnc [zh_CN_#Hans,en_US,en_GB,ar_XB] ldltr sw320dp w640dp h295dp 360dpi nrml long land finger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 1441, 720) nonFullScreen=0 suim:5 s.1974}, config:{1.30001 460mcc3mnc [zh_CN_#Hans,en_US,en_GB,ar_XB] ldltr sw320dp w640dp h295dp 360dpi nrml long land finger -keyb/v/h -nav/h appBounds=Rect(0, 0 - 1441, 720) nonFullScreen=0 suim:5 s.1974} for app:com.moudge.playtheharmonica
callActivityOnCreate
Failed to load IDynamiteLoader from GmsCore: Application package com.google.android.gms not found
Class com.google.android.gms.ads.internal.overlay.zze failed lock verification and will run slower.
check blur style for HwPhoneWindow, themeResId : 0x0103000f, context : com.google.android.gms.ads.AdActivity@d30bcce, Nhwext : 0, get Blur : disable with , null
add activity client record, r= ActivityRecord{62baad token=android.os.BinderProxy@74d89d0 {com.moudge.playtheharmonica/com.google.android.gms.ads.AdActivity}} token= android.os.BinderProxy@74d89d0
HWUI Binary is disabled
A connection to https://gcdn.2mdn.net/ was leaked. Did you forget to close a response body?
sending message to waiting queue (mwadi_adopened)

JS: A parser-blocking, cross site (i.e. different eTLD+1) script, https://static.googleadsserving.cn/pagead/js/r20201203/r20110914/abg_lite.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details. (https://googleads.g.doubleclick.net...bpN3FRRR9g5QJTYioJa7ToTFLs3z8UbbdunAuVjZFko_K
[INFO:CONSOLE(1)] "A parser-blocking, cross site (i.e. different eTLD+1) script, https://static.googleadsserving.cn/pagead/js/r20201203/r20110914/abg_lite.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.", source: https://googleads.g.doubleclick.net...Q3MYRNKpY89QVNugCftebITo8ytbVbpN3FRRR9g5QJTYi
JS: A parser-blocking, cross site (i.e. different eTLD+1) script, https://static.googleadsserving.cn/pagead/js/r20201203/r20110914/abg_lite.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details. (https://googleads.g.doubleclick.net...bpN3FRRR9g5QJTYioJa7ToTFLs3z8UbbdunAuVjZFko_K
[INFO:CONSOLE(1)] "A parser-blocking, cross site (i.e. different eTLD+1) script, https://static.googleadsserving.cn/pagead/js/r20201203/r20110914/abg_lite.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.", source: https://googleads.g.doubleclick.net...Q3MYRNKpY89QVNugCftebITo8ytbVbpN3FRRR9g5QJTYi
HTTP timeout: 60000 milliseconds.
A connection to https://googleads.g.doubleclick.net/ was leaked. Did you forget to close a response body?
 

kisoft

Well-Known Member
Licensed User
Longtime User
I will also ask about something else: have you noticed an increase in the size of the application ... Run the application a few times and close and check in the settings if the application size is increasing ..
 
Upvote 0
Top