Unable to establish connection to adb : Android Studio Error

While working with Android Studio 1.0.2 (on my Mac OS X 10.10 Operating system) I got the following error!

Unable to establish a connection to ADB.

If this happens, run 'adb devices -l' from the command line and see if it lists your devices. If ADB from the command line works, then please file a bug at http://b.android.com, including the output of the 'adb devices -l' command and your idea.log file (Help | Show Log in Files)

Solution :

You need to kill the ADB process that is running, to do so,

1. Go to Spotlight search, open Activity Monitor,

2. Loop for ADB under CPU tag,

3. Now Select it and Force Quit the process.

⚡️ You can kill ADB process through Terminal command too, by simply typing Kill -9 adb

Recent Posts:
Hello there!,

You are using AdBlocker!

I am an independent developer trying to help fellow developers and students to resolve issues faced on a day-to-day basis, we 'Code to Care' . There is a lot of expenses involved in hosting and managing a website that's the reason we have ads.

A humble request to you to disable adBlocker on Code2care.org and support us pay our bills.

Cod2ecare - Line's of code for change.

To see contents reload page after unblocking
Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.