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

Hello, is it somebody can help me on "Unfortunately, Fun Facts has stopped"

I've been trying to figure out why the Fun Fact apps has stopped by checking on the Log Cat or Event Log. Here the message is:

"Waiting for device. /Users/muhammadmumu/Library/Android/sdk/tools/emulator -avd Nexus_4_API_21 -netspeed full -netdelay none Device connected: emulator-5554 Device Nexus_4_API_21 [emulator-5554] is online, waiting for processes to start up.. Device is ready: Nexus_4_API_21 [emulator-5554] Target device: Nexus_4_API_21 [emulator-5554]

Uploading file local path: /Users/muhammadmumu/AndroidStudioProjects/FunFacts2/app/build/outputs/apk/app-debug.apk remote path: /data/local/tmp/com.example.muhammadmumu.funfacts Installing com.example.muhammadmumu.funfacts DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.muhammadmumu.funfacts" Device disconnected: emulator-5554 I/O Error: EOF"

:D :D :D :D

This appears to be the ADB log. If you are using Android Studio and looking at this window there is a button in the upper left that is "Devices | logcat" and "ADB log". Click on the one that says logcat and review the info shown there.

Hai mr. joseph ambrose, it showed that ``html**bold**<p> error: cannot find symbol variable relativeLayout, execution failed for task:app:compileDebugJava`.

Compilation failed; see the compiler error output for details.</p> ``` Maybe I should start from zero again. Thanks Sir. :D