用于工作的Android项目,现在显示不同的logcat错误

时间:2013-04-22 09:06:58

标签: android api manifest logcat

我的项目工作得非常好,但是当我现在运行它时,出现了以下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

1 个答案:

答案 0 :(得分:0)

更简单的解决方法是在“设置:应用:全部

”下禁用“Exchange服务”

(您可能需要滑动才能看到“全部”标签)