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

  1. ,
    via Stack Overflow by BinqiangSun

    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() in onCreate() and doUnbindService() in onDestroy()

Solutions on the web

via Stack Overflow by leonz
, 1 year ago
Activity com.zaher.app.calculator2.MainActivity has leaked ServiceConnection com.google.android.gms.common.zza@f1d3c54 that was originally bound here
via Stack Overflow by Worshiper
, 11 months ago
Service com.paypal.android.sdk.payments.PayPalService has leaked ServiceConnection com.google.android.gms.common.zza@3b065815 that was originally bound here
via Stack Overflow by Sanket990
, 2 years ago
Service com.paypal.android.sdk.payments.PayPalService has leaked ServiceConnection com.google.android.gms.common.zza@41c8b228 that was originally bound here
via Stack Overflow by Harshit Kumar
, 1 year ago
Service com.google.android.gms.car.CarService has leaked ServiceConnection fmj@35e4d4a that was originally bound here
via evervolv.com by Unknown author, 1 year ago
Service com.google.android.gms.car.CarService has leaked ServiceConnection com.google.android.gms.car.hr@cd1b3df that was originally bound here
via Stack Overflow by hashim
, 1 year ago
Service com.google.android.gms.car.CarService has leaked ServiceConnection com.google.android.gms.car.hr@3bb3cd94 that was originally bound here
android.app.ServiceConnectionLeaked: Activity com.zaher.app.calculator2.MainActivity has leaked ServiceConnection com.google.android.gms.common.zza@f1d3c54 that was originally bound here	at android.app.LoadedApk$ServiceDispatcher.(LoadedApk.java:1092)	at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:986)	at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1303)	at android.app.ContextImpl.bindService(ContextImpl.java:1286)	at android.content.ContextWrapper.bindService(ContextWrapper.java:604)	at com.google.android.gms.common.stats.zzb.zza(Unknown Source)	at com.google.android.gms.common.stats.zzb.zza(Unknown Source)	at com.google.android.gms.ads.identifier.AdvertisingIdClient.zzh(Unknown Source)	at com.google.android.gms.ads.identifier.AdvertisingIdClient.zze(Unknown Source)	at com.google.android.gms.ads.identifier.AdvertisingIdClient.getInfo(Unknown Source)	at com.google.android.gms.internal.zzbh.zzcx(Unknown Source)	at com.google.android.gms.internal.zzbh.zzcv(Unknown Source)	at com.google.android.gms.internal.zzbp.zzcy(Unknown Source)	at com.google.android.gms.internal.zzbp.call(Unknown Source)	at java.util.concurrent.FutureTask.run(FutureTask.java:237)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)	at java.lang.Thread.run(Thread.java:818)