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 (retired 2014) Pretty Little Things Customizing Buttons and Labels

My 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

I 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!

The instruction tells me to change to "AppTheme" in the androidmanifest.xml do you know where exactly?

thats 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

I'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.

It's all good, I managed to get it to work after following the instructions! Thanks!

Thanks for your help guys!

Can you post the contents of LogCat as this will point us in the right direction.

Thanks,

Steve.

No problem! I hope I was able to help a little bit!