Add this (or where ever is your “platform-tools” folder located ) path to environment variables path.
Open cmd and run these commands :
adb kill-server && adb start-server
and press enter.
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.
- Tech Lover , Open Src Dev , Dotnet Core, Ionic, Xamarin, Node, Angular2, Python, Opencv, AI, ML, Robotics, SignalR, Iot, Love Music, Cooking, Girls, Innovation.