logcat中的运行时错误

时间:2013-01-08 07:51:11

标签: android

我无法准确识别错误。我的申请工作正常。但是当我浏览应用程序中的活动时,我注意到日志猫中的这些错误呈红色,但应用程序不会崩溃

01-08 07:13:09.363: E/StrictMode(1067):     at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
01-08 07:13:09.363: E/StrictMode(1067):     at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863)
01-08 07:13:09.363: E/StrictMode(1067):     at android.app.ContextImpl.bindService(ContextImpl.java:1418)
01-08 07:13:09.363: E/StrictMode(1067):     at android.app.ContextImpl.bindService(ContextImpl.java:1407)
01-08 07:13:09.363: E/StrictMode(1067):     at android.content.ContextWrapper.bindService(ContextWrapper.java:473)
01-08 07:13:09.363: E/StrictMode(1067):     at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157)
01-08 07:13:09.363: E/StrictMode(1067):     at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145)
01-08 07:13:09.363: E/StrictMode(1067):     at com.android.emailcommon.service.AccountServiceProxy.getDeviceId(AccountServiceProxy.java:116)
01-08 07:13:09.363: E/StrictMode(1067):     at com.android.exchange.ExchangeService.getDeviceId(ExchangeService.java:1249)
01-08 07:13:09.363: E/StrictMode(1067):     at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1856)
01-08 07:13:09.363: E/StrictMode(1067):     at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551)
01-08 07:13:09.363: E/StrictMode(1067):     at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549)
01-08 07:13:09.363: E/StrictMode(1067):     at android.os.AsyncTask$2.call(AsyncTask.java:287)
01-08 07:13:09.363: E/StrictMode(1067):     at java.util.concurrent.FutureTask.run(FutureTask.java:234)
01-08 07:13:09.363: E/StrictMode(1067):     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
01-08 07:13:09.363: E/StrictMode(1067):     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
01-08 07:13:09.363: E/StrictMode(1067):     at java.lang.Thread.run(Thread.java:856)
01-08 07:13:09.413: W/ActivityManager(755): Unbind failed: could not find connection for android.os.BinderProxy@414efec0
01-08 07:13:09.413: W/Trace(1067): Unexpected value from nativeGetEnabledTags: 0
01-08 07:13:09.413: W/Trace(1067): Unexpected value from nativeGetEnabledTags: 0
01-08 07:13:23.563: W/Trace(1005): Unexpected value from nativeGetEnabledTags: 0
01-08 07:13:23.573: W/Trace(1005): Unexpected value from nativeGetEnabledTags: 0
01-08 07:13:54.157: D/ExchangeService(1067): Received deviceId from Email app: null

任何人都可以解释这里发生了什么

1 个答案:

答案 0 :(得分:1)

您的应用程序没有崩溃,因为错误是E / StrictMode,当应用程序崩溃时错误报告为E / AndroidRuntime,似乎您已在应用程序中启用strictmode检查,它报告可能的错误并且可以更正