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

Crystal Ball sound not working when loaded in phone

The app was perfectly working before I removed the button. Then when I put the shake detector and loaded it in my phone, the sound was gone. Everything is working fine. I have xperia z1 if that matters.

2 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Do you get any kind of errors in logcat or the console? Is it just the sound that isn't working? It could be a device-specific issue.

No. I checked it. There's nothing in there. I'll try to use different device and see if that works. If it does, what specifically could have caused that?

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Most device manufactures modify the base Android operating system, and sometimes introduce bugs. If it works on other devices then it is most likely related to the hardware and its version of the operating system. You'd have to track down a solution from there, which can be a pain. This is the biggest gripe of Android developers. :-/