2013-04-22 31 views
0

我的項目工作得很好,但是當我現在運行它,下面的logcat出現了,我已經閱讀並練習了每一篇文章(Invalid API &泄露)但似乎沒有任何工作,所以,問題在哪裏?Android項目用於工作,現在不同的logcat錯誤炫耀

04-22 09:03:39.523: W/ActivityManager(289): Unbind failed: could not find connection for [email protected] 
04-22 09:03:39.543: E/ActivityThread(602): Service com.android.exchange.ExchangeService has leaked ServiceConnection [email protected]6b390 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 [email protected]6b390 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 [email protected]6b390 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 [email protected] 
+0

有些代碼可能是有用的。此外,日誌似乎來自標準的電子郵件應用程序。您的應用有沒有日誌? – sandrstar 2013-04-22 09:17:54

+0

@sandrstar這是問題所在,以前的logcat是從我的應用程序中獲取的,但是我不使用任何電子郵件的東西,它只是一個簡單的佈局和類 – 2013-04-22 09:27:02

回答

0

一個更簡單的解決方法是關閉設置中「Exchange服務」:應用程序:所有

(您可能需要刷卡過去一看,「全部」選項卡)

相關問題