How to quickly restart adb.exe

Step (1)

Add this (or where ever is your “platform-tools” folder located ) path to environment variables path.

C:\Users\mm-admin\AppData\Local\Android\sdk\platform-tools

Step (2)

Open cmd and run these commands :

adb kill-server && adb start-server

and press enter.

Summery

This will kill existing broken server running if any, then re-start with the default port assigned.

This will help you to install apk in device if you are struggling to install apk.

I use this often while installing apk by running “ionic cordova run android” as this sometimes freezes and do not installs apk properly.

Hope this will help you. ๐Ÿ™‚

Check out other awesome blogs.

Author Profile

PREM KUMAR
PREM KUMAR
Tech Lover , Open Src Dev , Dotnet Core, Ionic, Xamarin, Node, Angular2, Python, Opencv, AI, ML, Robotics, SignalR, Iot, Love Music, Cooking, Girls, Innovation.
Like
Like Love Haha Wow Sad Angry
11
Summary
Article Name
How to quickly restart adb.exe
Description
This will kill existing broken adb server running if any, then re-start with the default port assigned.
Author

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Enable Notifications    Ok No thanks