android.app.ServiceConnectionLeaked: Activity com.quran.labs.androidquran.QuranViewActivity has leaked >ServiceConnection com.quran.labs.androidquran.QuranViewActivity$1@405bef30 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

,
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 GitHub by afarra
, 1 year ago
Activity com.quran.labs.androidquran.QuranViewActivity has leaked >ServiceConnection com.quran.labs.androidquran.QuranViewActivity$1@405bef30 that was originally bound here
via GitHub by GoogleCodeExporter
, 1 year ago
Activity com.alanco.ShiftLightsPro.PluginActivity has leaked ServiceConnection com.android.vending.licensing.LicenseChecker@40521d50 that was originally bound here
via Stack Overflow by Streetboy
, 2 years ago
Activity com.myapp.main.mactivity has leaked ServiceConnection com.google.android.vending.licensing.LicenseChecker@406a4428 that was originally bound here
via Google Groups by Tim O'Brien, 7 months ago
Activity kyght.mygame.android.ShowcaseActivity has leaked ServiceConnection com.google.android.vending.licensing.LicenseChecker@405612d0 that was originally bound here
via GitHub by mcladyz
, 2 years ago
Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40dd91a8 that was originally bound here
via cko.me by Unknown author, 1 year ago
Activity luis.android.sbns.radio.StationList has leaked ServiceConnection that was originally bound here
android.app.ServiceConnectionLeaked: Activity com.quran.labs.androidquran.QuranViewActivity has leaked >ServiceConnection com.quran.labs.androidquran.QuranViewActivity$1@405bef30 that was originally bound here
at android.app.LoadedApk$ServiceDispatcher.(LoadedApk.java:938)
at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:833)
at android.app.ContextImpl.bindService(ContextImpl.java:971)
at android.content.ContextWrapper.bindService(ContextWrapper.java:347)
at com.quran.labs.androidquran.QuranViewActivity.bindAudioService(QuranViewActivity.java:540)
at com.quran.labs.androidquran.QuranViewActivity.onCreate(QuranViewActivity.java:90)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:2836)
at android.app.ActivityThread.access$1600(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)

Users with the same issue

2 times, 1 month ago
Once, 1 month ago
67 times, 3 months ago
25 times, 3 months ago
16 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.