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

Conder S
Conder S
1,146 Points

Weird Graphics when Running App

So my design, xml, and program code are all virtually the same as the videos's in the Beginning Android Development course. However, suddenly after adding all the OnClickListener stuff (literally just creating an object and filling in the OnClick method) , my app in the emulator suddenly has a white background and doesn't even display the fun facts text anymore.

Is it because my computer suddenly can't handle all this so the app kinda crashes or is this because of some other error?

Here are the console messages when I run my app:

12-01 20:07:43.900 2318-2318/com.example.conder.funfacts I/InstantRun: Instant Run Runtime started. Android package is com.example.conder.funfacts, real application class is null.

12-01 20:07:47.264 2318-2318/com.example.conder.funfacts W/System: ClassLoader referenced unknown path: /data/app/com.example.conder.funfacts-2/lib/x86

12-01 20:07:47.644 2318-2318/com.example.conder.funfacts W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter 
android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable

12-01 20:07:47.716 2318-2318/com.example.conder.funfacts W/gralloc_ranchu: Gralloc pipe failed

  [ 12-01 20:07:47.716  2318: 2318 D/         ]
HostConnection::get() New Host Connection established 0x9cfae0c0, tid 2318

[ 12-01 20:07:47.746  2318: 2551 D/         ]
                                                                           HostConnection::get() New Host Connection established 0x9cfaea80, tid 2551

12-01 20:07:47.748 2318-2551/com.example.conder.funfacts I/OpenGLRenderer: Initialized EGL, version 1.4
12-01 20:07:47.749 2318-2551/com.example.conder.funfacts D/OpenGLRenderer: Swap behavior 1
12-01 20:29:45.672 2318-2541/com.example.conder.funfacts W/System: ClassLoader referenced unknown path: /data/data/com.example.conder.funfacts/lib

Any and all feedback is very much appreciated!

Thank you :)