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 Adding an Image

App not working

When running the app it says "The CrystalBall app has stopped working" and nothing shows up Prior to adding the imgae and applying the changes in the theme it was working. I cant proceed.please help !

In the beginning I very often see "The CrystalBall app has stopped working". My solution: Edit/Undu and save run look if ok. If no, again Edit/Undu... repeat till camming when is ok. And then go Edit Redo that strictly see wich your instruction produce stop. Repeat that instruction: delete image and set again, delet set again till there is no Stop.

4 Answers

Calvin Nix
Calvin Nix
43,828 Points

Hey Gaurav,

This is a known issue with adding a theme.

Look at the teacher's notes for the resolution to the issue.

i have made those changes in style.xml and manifest.xml but the app is still not working

Calvin Nix
Calvin Nix
43,828 Points

Did you make sure to select 'AppTheme' as the layout theme?

Yes it is set to AppTheme.

Calvin Nix
Calvin Nix
43,828 Points

Did you also change this in the appmanifest?

Yes this fixed it. Thanks Now its working