Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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. :-/