Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

[Solved] Service leaked

Rank

Total Posts: 2

Joined 2014-03-17

PM

Hello,

I'm trying to implement your SDK (ANT+) but I have an error in my logcat:

Service com.dsi.ant.plugins.antplus.bikespdcad.CombinedBikeSpdCadService has leaked ServiceConnection com.dsi.ant.plugins.antplus.common.AntPluginService$3@4178a7e0 that was originally bound here
android.app.ServiceConnectionLeaked: Service com.dsi.ant.plugins.antplus.bikespdcad.CombinedBikeSpdCadService has leaked ServiceConnection com.dsi.ant.plugins.antplus.common.AntPluginService$3@4178a7e0 that was originally bound here
at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:936)
at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:830)
at android.app.ContextImpl.bindService(ContextImpl.java:1150)
at android.content.ContextWrapper.bindService(ContextWrapper.java:370)
at com.dsi.ant.AntService.bindService(AntService.java:206)
at com.dsi.ant.plugins.antplus.common.AntPluginService.connectArsAndRepost(AntPluginService.java:364)
at com.dsi.ant.plugins.antplus.common.AntPluginService.access$1(AntPluginService.java:291)
at com.dsi.ant.plugins.antplus.common.AntPluginService$RequestAccessHandler.handleMessage(AntPluginService.java:263)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)
03-21 14:21:09.795 334-346/? W/ActivityManager﹕ Unbind failed: could not find connection for android.os.BinderProxy@4210e8d8

What is the origin of this error and how can i solved this ?

In my manifest i've put this lines:

<uses-permission android:name="com.dsi.ant.permission.ANT" />
    <
uses-permission android:name="com.dsi.ant.permission.ANT_ADMIN" /> 

I've the same error with the sample.

Thank for your answer

Best regards.

Mickael      
Rank

Total Posts: 2

Joined 2014-03-17

PM

I solved my issue with an update of Ant Radio and ANT+ Plugins.      
Avatar
RankRankRankRank

Total Posts: 235

Joined 2012-08-31

PM

Great to hear - thanks for updating the thread!