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

sometimes the answer animate and sometimes it don't

my code is correct please i need ANSWERS

2 Answers

Harry James
Harry James
14,780 Points

Hello!

Are you testing this in the emulator or on a physical device?

in the emulator

Harry James
Harry James
14,780 Points

Ok, can you copy your MainActivity.java and CrystalBall.java files and paste them onto a site like Pastebin.com just so that I can check your code. Although you say it is correct, I have made the mistake many times where just a small thing can break your code that you never noticed.

Ok, i reached the Adding a shake detector video So, the title is Adding a shake detector

I would suggest get started with Geny Motion. Its really simple to set up and has lesser lags as compared to the default emulator by android.

And yes its free! :)

Hope it helps.

Treehouse video tutorials on Geny Motion

thank you