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 :


Recent Posts:

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.