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 Implementing Designs for Android Starting with Design Mockups Supporting Multiple Screens

The connection to adb is down

i am getting this error every time i try to run my project. tried to restart my eclipse but still getting the same error what could be the problem

link: http://grab.by/It6i

2 Answers

Ryan Ruscett
Ryan Ruscett
23,307 Points

Hey,

Yeah if you are on windows, this happens. The ADB server runs outside of eclipse or they are not tightly related.

If on windows, do this. ---- Close the Eclipse if running --- Go to the Android SDK platform-tools directory in Command Prompt --- type adb kill-server (Eclipse should be closed before issuing these commands) --- then type adb start-server.

This works for me. if the adb is in the path you can just run it without going to the android SDK and I think it is by default. Worth a shot before navigating there first.

On linux just do a grep for adb. ps -ef | grep adb If you don't see a process, start it, if you do see one kill it and restart it. sudo kill PID_NUMBER

Let me know if this helps of if you have other questions or are confused even more lol

Thanks!

A big thanks hey it worked Another qstn i cant view my messages in my inbox but everything else in the Ribbit app i think its working just fine