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 :

C:/Android/adt-bundle-mac-x86_64-






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.

Thanks,
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.