android.app.ServiceConnectionLeaked: Activity *** has leaked ServiceConnection ***$1@e2e8d7d that was originally bound here

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Getting "Activity <activityname> has leaked ServiceConnection" despite unbinding it in onDestroy or onPause

    Stack Overflow | 6 months ago | Lurzim Sabahudin
    android.app.ServiceConnectionLeaked: Activity *** has leaked ServiceConnection ***$1@e2e8d7d that was originally bound here
  2. 0

    Android App shuts down in testing with "ServiceConnectionLeaked"

    Stack Overflow | 11 months ago | auto
    android.app.ServiceConnectionLeaked: Activity com.example.authorName.appName.MainActivity has leaked ServiceConnection com.microsoft.band.f$xyzabc that was originally bound here
  3. 0

    webview E/SelfBrailleClient: Failed to bind to service

    Stack Overflow | 3 weeks ago | iamcxl
    android.app.ServiceConnectionLeaked: Activity com.iamcxl.webview.ActivityWebview0 has leaked ServiceConnection com.android.org.chromium.com.googlecode.eyesfree.braille.selfbraille.SelfBrailleClient$Connection@42c9eb88 that was originally bound here
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Application Crash when button Click on fragment

    Stack Overflow | 4 years ago | Bhim Prasad Ale
    android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40cebd08 that was originally bound here at android.app.LoadedApk$ServiceDispatcher.&lt;init&gt;(LoadedApk.java:969)

  1. MyInnos 4 times, last 11 months ago

Root Cause Analysis

  1. android.app.ServiceConnectionLeaked

    Activity *** has leaked ServiceConnection ***$1@e2e8d7d that was originally bound here

    at android.app.LoadedApk$ServiceDispatcher.<init>()
  2. Android Platform
    ContextImpl.bindService
    1. android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1092)
    2. android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:986)
    3. android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1303)
    4. android.app.ContextImpl.bindService(ContextImpl.java:1286)
    4 frames