android.app.ServiceConnectionLeaked: Service com.touchtype.telemetry.TelemetryService has leaked ServiceConnection com.touchtype_fluency.service.FluencyServiceProxy$1@45949788 that was originally bound here
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Samebug tips
It's because the service you bind with activity is not stopped when that activity is destroyed. The service remains in the memory causes this exception. To solve this call
doBindService()
inonCreate()
anddoUnbindService()
inonDestroy()
Solutions on the web
via Android Enthusiasts by berdario
, 1 year agovia GitHub by gfkpth
, 2 years agovia GitHub by psborges84
, 2 months agovia Stack Overflow by Harshit Kumar
, 1 year agovia evervolv.com by Unknown author, 2 years ago
via Stack Overflow by GyeongUk Moon
, 1 year agoandroid.app.ServiceConnectionLeaked: Service com.touchtype.telemetry.TelemetryService has leaked ServiceConnection com.touchtype_fluency.service.FluencyServiceProxy$1@45949788 that was originally bound here
at android.app.LoadedApk$ServiceDispatcher.
(LoadedApk.java:977) at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:871)
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1625)
at android.app.ContextImpl.bindService(ContextImpl.java:1608)
at android.content.ContextWrapper.bindService(ContextWrapper.java:517)
at com.touchtype_fluency.service.FluencyServiceProxy.onCreate(FluencyServiceProxy.java:88)
at com.touchtype.telemetry.handlers.w.
(UpgradeActionsHandler.java:40) at com.touchtype.telemetry.handlers.t.a(TelemetryHandlerFactory.java:92)
at com.touchtype.telemetry.TelemetryService.a(TelemetryService.java:277)
at com.touchtype.telemetry.TelemetryService.a(TelemetryService.java:71)
at com.touchtype.telemetry.TelemetryService$b.handleMessage(TelemetryService.java:118)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61)