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 trialBrody Ricketts
15,612 PointsCrash after adding background image of Crystal Ball
Crystal Ball has stopped error message on the emulator. I am unable to understand the logcat. However there is a line that states "You need to use a Theme.AppCompat theme (or descendant) with this activity.
Any help on this would be appreciated.
I am also not receiving any errors, only warnings:
Missing contentDescription attribute on image - (CrystalBall image) Hardcoded String "Enlighten Me!", should use @string resource
1 Answer
Gregory Bradburn
2,074 PointsNot sure about the error message on the emulator but you can ignore the warning about the hardcoded string. Using the string resources is a "best practice" but is not a requirement.
Brody Ricketts
15,612 PointsBrody Ricketts
15,612 PointsHaving gone a bit deeper on this issue I found a fix. Its also posted on the actual video for that section.