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 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,309 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