Android emulator spams logcat with \"Service com.android.exchange.ExchangeService has leaked ServiceConnection … that was originally bound here

跟風遠走 提交于 2019-11-26 13:21:15

A simpler fix is to disable "Exchange Services" in the emulated device under Settings : Apps : All

(you may need to swipe over to see the "All" tab)

Nothing helped me until I deleted this current emulator device. After that I have set up a completely new virtual device. My new emulator device doesn't have all these errors. This fixed my problem.

In my case what worked was turning off the Firewall (I use Windows 8 machine with the latest SDK for Android, 4.2).

schippi

After 60minutes of searching around this error I spotted that I just had an infiniteloop which caused this exchange service spam until app-shutdown. just leaving this here in case anyone else overthinks it

This can be a misleading error message in the emulator.

I was mystified, until I hooked up an actual device, which crashed at the same point, but instead complaining about a missing use-permission. Adding the use-permission fixed the issue.

This isn't going to be source of the problem for all users, but it might be for some.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!