Android Build a Weather App (2015) Working with JSON Introducing JSONObject

Chenaj Teja Potu
Chenaj Teja Potu
2,972 Points

Could not see the exception in log cat

I am not seeing Json Exception in Log Cat.

I am seeing this

02-25 17:22:35.943 1908-1908/com.android.email E/ActivityThread: Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@31b0ca73 that was originally bound here android.app.ServiceConnectionLeaked: Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@31b0ca73 that was originally bound here at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1077)at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:971)at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1774) at android.app.ContextImpl.bindService(ContextImpl.java:1757) at android.content.ContextWrapper.bindService(ContextWrapper.java:539) at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:181) at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:224) at com.android.email.service.EmailServiceUtils.isServiceAvailable(EmailServiceUtils.java:160) at com.android.email.provider.AccountReconciler.reconcileAccountsInternal(AccountReconciler.java:171) at com.android.email.provider.AccountReconciler.reconcileAccounts(AccountReconciler.java:115) at com.android.email.service.EmailBroadcastProcessorService.reconcileAndStartServices(EmailBroadcastProcessorService.java:305) at com.android.email.service.EmailBroadcastProcessorService.onBootCompleted(EmailBroadcastProcessorService.java:295) at com.android.email.service.EmailBroadcastProcessorService.onHandleIntent(EmailBroadcastProcessorService.java:130) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.os.HandlerThread.run(HandlerThread.java:61)

Harry James
Harry James
14,078 Points

Hey Chenaj!

This isn't your app causing the error here - it's the built-in Android Email app!

Anyhow, on Logcat, make sure you Show only selected application to avoid getting errors from other apps. You can also set the Log level to Error, so that only the error displays:


Let me know if this helps and if you need help solving the problem, please post the logcat for your error here and your code file(s) :)