Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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

No FunFactsActivity log entry?

I followed the steps shown, saved, ran the app and even clicked through a few Fun Facts. When I search the log as shown, there is no entry matching FunFactsActivity. Any ideas?

3 Answers

Andrew West
Andrew West
3,245 Points

In the Devices | logcat tab did you check and make sure your device/emulator was selected? Without the funfactactivity filter on are you seeing any other log messages that look like they're coming from your device/emulator? What Log level is your filter set to?

Thanks Andrew, those are good suggestions. I definitely got other log messages from the FunFactsActivity. I couldn't seem to find anything wrong, so I restarted Android Studio and cleaned the project. The problem resolved itself. I don't know what the issue actually was.

Thanks! worked for me too.

I had the same issue as Nisha, and I had checked to make sure I had the emulator selected like Andrew suggested. So I tried restarting android studio and cleaning the app since it worked for Nisha, and boom, it was right there.