Stop android adb service from command prompt or terminal

Android adb is the process that is related to the emulator, many times it so happens that it gets stuck and or you are not able to start it. In such a case we need to either kill or restart the adb server manually by running some commands.

For Mac OS X :

Go to Spotlight Search and open Terminal.

Now move to the location where adb is located :

$ cd /Users/code2care/Android/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/

Now type below command to kill the adb server process :

$ ./adb kill-server

In order to start the process again execute the below command :

$ ./adb start-server

For Windows OS :

Go to run and type cmd to open command prompt.

Now move to the location where adb is located.

C:/> cd /Android/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/

To stop adb run :

C:/Android/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/> adb kill-server

To start adb :


Try Out Code2care Dev Tools:


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, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.