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](https://pkworlz.com/wp-content/uploads/2021/12/WhatsApp-Image-2021-06-24-at-8.47.49-PM-min-150x150.jpeg)
- Hey Its..! Tech Lover , Ionic, Angular, Typescript, Dotnet Core, Node, Like Opencv, AI, ML, Robotics, Iot, Love Music, Cooking, Girls, Innovation