0

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

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

谁能解释这里发生了什么

4

1 回答 1

1

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

于 2013-01-08T08:03:36.053 回答