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 Animating the Answer

Khaled Yasser
Khaled Yasser
4,234 Points

A problem

Hi There , i'm using a samsung galaxy note 2 as my emulator to test my code , and it was going pretty well , but after animating my answer , when i try to run it , it says " unfortunately , Crystalball stopped working " , and notice that i was just doing exactly like what ben was doing . Thank you for your time

larsfredrik
larsfredrik
2,943 Points

I can't fix the problem, but it would helped if you submitted the code you're having trouble with. ^_^

2 Answers

Have you tried restarting your emulator? Or maybe create a new emulator; sometimes it's not able to hotswap the changes and gets corrupted.

Khaled Yasser
Khaled Yasser
4,234 Points

when i put that line mCrystalballimage = (ImageView) findViewById(R.id.imageView1); into the create method the problem occur , but when i get it back to the animate method it works normally .