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 trialShaun Chua
Courses Plus Student 268 PointsMy app keeps crashing, do you know how to fix it?
When I run the app, it tries to open and then crashes with a note saying "crystal ball crashed"
4 Answers
Brently Siders
1,388 PointsI know exactly what you're going through! I have already been through your situation! If I were you I would make sure you read the steps for fixing this solution at
http://teamtreehouse.com/library/build-a-simple-android-app/pretty-little-things/adding-an-image-2
Scroll to the teachers notes and you'll see that there are known issues about this, follow the directions, don't worry about downloading the files just do the directions and that should resolve the issue.
Also there's a related forum post to this which is
https://teamtreehouse.com/forum/same-code-different-models-different-screens
You'll see that I've posted the logcat and the issues that I was having with this and hopefully you'll be able to find a fix!
I wish you in the best of luck!
Shaun Chua
Courses Plus Student 268 PointsThanks for your help guys!
Steve Hunter
57,712 PointsCan you post the contents of LogCat as this will point us in the right direction.
Thanks,
Steve.
Brently Siders
1,388 PointsNo problem! I hope I was able to help a little bit!
Shaun Chua
Courses Plus Student 268 PointsShaun Chua
Courses Plus Student 268 PointsThe instruction tells me to change to "AppTheme" in the androidmanifest.xml do you know where exactly?
Brently Siders
1,388 PointsBrently Siders
1,388 Pointsthats going to be on the bottom left hand side of your screen, double click that, then once you have that pulled up, look in the manifest.xml on the bottom where it shows applictaions, permissions, ect ect then androidmanifest.xml
Brently Siders
1,388 PointsBrently Siders
1,388 PointsI'm 99% sure you'll also want to click on the application section on the bottom the look in that area. Sorry Its been a while.
Shaun Chua
Courses Plus Student 268 PointsShaun Chua
Courses Plus Student 268 PointsIt's all good, I managed to get it to work after following the instructions! Thanks!