0

我的项目运行得很好,但是当我现在运行它时,出现了以下 logcat,我已经阅读并练习了(无效 API 和泄露)下的每一篇文章,但似乎没有任何效果,所以,哪里是问题?

04-22 09:03:39.523: W/ActivityManager(289): Unbind failed: could not find connection for android.os.BinderProxy@4100b980
04-22 09:03:39.543: E/ActivityThread(602): Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d6b390 that was originally bound here
04-22 09:03:39.543: E/ActivityThread(602): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d6b390 that was originally bound here
04-22 09:03:39.543: E/ActivityThread(602):  at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-22 09:03:39.543: E/ActivityThread(602):  at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-22 09:03:39.543: E/ActivityThread(602):  at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-22 09:03:39.543: E/ActivityThread(602):  at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-22 09:03:39.543: E/ActivityThread(602):  at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-22 09:03:39.543: E/ActivityThread(602):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-22 09:03:39.543: E/ActivityThread(602):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-22 09:03:39.543: E/ActivityThread(602):  at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-22 09:03:39.543: E/ActivityThread(602):  at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-22 09:03:39.543: E/ActivityThread(602):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-22 09:03:39.543: E/ActivityThread(602):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-22 09:03:39.543: E/ActivityThread(602):  at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-22 09:03:39.543: E/ActivityThread(602):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-22 09:03:39.543: E/ActivityThread(602):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-22 09:03:39.543: E/ActivityThread(602):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-22 09:03:39.543: E/ActivityThread(602):  at java.lang.Thread.run(Thread.java:856)
04-22 09:03:39.613: E/StrictMode(602): null
04-22 09:03:39.613: E/StrictMode(602): android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d6b390 that was originally bound here
04-22 09:03:39.613: E/StrictMode(602):  at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
04-22 09:03:39.613: E/StrictMode(602):  at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
04-22 09:03:39.613: E/StrictMode(602):  at android.app.ContextImpl.bindService(ContextImpl.java:1418)
04-22 09:03:39.613: E/StrictMode(602):  at android.app.ContextImpl.bindService(ContextImpl.java:1407)
04-22 09:03:39.613: E/StrictMode(602):  at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
04-22 09:03:39.613: E/StrictMode(602):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
04-22 09:03:39.613: E/StrictMode(602):  at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
04-22 09:03:39.613: E/StrictMode(602):  at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191)
04-22 09:03:39.613: E/StrictMode(602):  at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850)
04-22 09:03:39.613: E/StrictMode(602):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
04-22 09:03:39.613: E/StrictMode(602):  at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
04-22 09:03:39.613: E/StrictMode(602):  at android.os.AsyncTask$2.call(AsyncTask.java:287)
04-22 09:03:39.613: E/StrictMode(602):  at java.util.concurrent.FutureTask.run(FutureTask.java:234)
04-22 09:03:39.613: E/StrictMode(602):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
04-22 09:03:39.613: E/StrictMode(602):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
04-22 09:03:39.613: E/StrictMode(602):  at java.lang.Thread.run(Thread.java:856)
04-22 09:03:39.653: W/ActivityManager(289): Unbind failed: could not find connection for android.os.BinderProxy@40ee8fe0
4

1 回答 1

0

一个更简单的解决方法是禁用“设置”下的“交换服务”:应用程序:全部

(您可能需要滑动才能看到“全部”选项卡)

于 2013-04-22T09:43:24.970 回答