Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build a Simple Android App (2014) Testing and Debugging The Android Log

Can't see the log message in logcat

I can't see the message I entered in code in logcat. All I see is this when I run the project(these are literally the only messages I see):

10-11 00:29:37.660 762-762/com.ishan.funfacts I/Choreographer﹕ Skipped 92 frames! The application may be doing too much work on its main thread. 10-11 00:29:38.640 762-762/com.ishan.funfacts D/﹕ HostConnection::get() New Host Connection established 0xb8231490, tid 762 10-11 00:29:39.320 762-762/com.ishan.funfacts W/EGL_emulation﹕ eglSurfaceAttrib not implemented 10-11 00:29:39.580 762-762/com.ishan.funfacts D/OpenGLRenderer﹕ Enabling debug mode 0 10-10 20:29:51.240 762-762/com.ishan.funfacts D/dalvikvm﹕ GC_FOR_ALLOC freed 135K, 11% free 3538K/3956K, paused 464ms, total 472ms 10-10 20:29:51.870 762-762/com.ishan.funfacts I/Choreographer﹕ Skipped 95 frames! The application may be doing too much work on its main thread. 10-10 20:29:52.260 762-762/com.ishan.funfacts W/EGL_emulation﹕ eglSurfaceAttrib not implemented 10-10 20:29:59.210 762-762/com.ishan.funfacts W/EGL_emulation﹕ eglSurfaceAttrib not implemented 10-10 20:30:20.780 762-762/com.ishan.funfacts W/EGL_emulation﹕ eglSurfaceAttrib not implemented

1 Answer

Samuel Havard
Samuel Havard
6,650 Points

I had an issue with logcat not updating properly. Try restarting the logcat. Along the left side at the bottom, you will see a green arrow going around in a circle. Click this and wait a few seconds. I think it took me about 30-40 seconds for it to restart. This cleared up my issue. Good luck.

The trash button is at the top now, I however just hit the green arrow.

Reset Button

Tommy Choe
Tommy Choe
38,156 Points

That worked for me. Thanks!