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 Build a Simple Android App (retired 2014) Getting Started with Android Android Setup and the Crystal Ball Project

Trouble getting crystal ball project to work

When I run the code on my mac, I get the following error:

[2014-03-18 09:05:27 - CrystalBall] The connection to adb is down, and a severe error has occured. [2014-03-18 09:05:27 - CrystalBall] You must restart adb and Eclipse. [2014-03-18 09:05:27 - CrystalBall] Please ensure that adb is correctly located at '/Users/elijah/Downloads/android_dev_environment_mac/sdk/platform-tools/adb' and can be executed.

I added adb to my PATH and have restarted Eclipse, but continue to get the same error.

1 Answer

Ben Jakuben
Ben Jakuben
Treehouse Teacher

I'm not sure if this will help, but try restarting Eclipse and the emulator. Then in Eclipse, switch to the DDMS perspective (button in the upper right). From there you can select an option from a little drop-down menu and "reset adb". That might work for you.

reset adb