android.app.ServiceConnectionLeaked: Activity com.sidewise.whatsfordinner.whatsfordinner has leaked ServiceConnection com.android.vending.licensing.LicenseChecker@40524f98 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 GoogleCodeExporter
, 11 months ago
Activity com.sidewise.whatsfordinner.whatsfordinner has leaked ServiceConnection com.android.vending.licensing.LicenseChecker@40524f98 that was originally bound here
via GitHub by GoogleCodeExporter
, 11 months 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, 6 months ago
Activity kyght.mygame.android.ShowcaseActivity has leaked ServiceConnection com.google.android.vending.licensing.LicenseChecker@405612d0 that was originally bound here
via Coderanch by achuthan mukundarajan, 11 months ago
Service com.google.android.gms.checkin.CheckinService has leaked ServiceConnection gbd@405ddad0 that was originally bound here
via Stack Overflow by Ted Hopp
, 2 years ago
Activity com.zigzagworld.tehillim.Tehillim has leaked ServiceConnection com.android.vending.licensing.LicenseChecker@4051ba58 that was originally bound here
android.app.ServiceConnectionLeaked: Activity com.sidewise.whatsfordinner.whatsfordinner has leaked ServiceConnection com.android.vending.licensing.LicenseChecker@40524f98 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:864)
at android.content.ContextWrapper.bindService(ContextWrapper.java:347)
at com.android.vending.licensing.LicenseChecker.checkAccess(LicenseChecker.java:143)
at com.sidewise.whatsfordinner.whatsfordinner.onCreate(whatsfordinner.java:161)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1586)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1638)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:928)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3647)
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:839)

Users with the same issue

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

Write tip

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