1

I am unable to run my Ionic app in --livereload mode. It gives me an error as:

   Error: C:\softwares\android-sdks\platform-tools\adb.exe: Command failed with exit code 1 Error output:
   error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket address (protocol/network address/port) is normally permitted. (10048)
   could not read ok from ADB Server
   * failed to start daemon *
   error: cannot connect to daemon

I started task manager and found 3 adb server are running.I tried to kill them but unable to do that. Please help.

  • https://code.google.com/p/android/issues/detail?id=184713 – Mohan Gopi Jul 14 '16 at 10:34
  • its not working for me – Diksha Rani Jul 14 '16 at 12:09
  • please provide another one solution – Diksha Rani Jul 14 '16 at 12:10
  • type `adb devices` in you **cmd** and tell wethere you are able to detect your device or not – Mohan Gopi Jul 14 '16 at 12:10
  • https://cithukyaw.wordpress.com/2016/03/12/adb-server-didnt-ack-or-adb-server-is-out-of-date-killing/ check this and also this http://stackoverflow.com/questions/5703550/my-eclipse-adb-server-didnt-ack-failed-to-start-daemon hope it will solve your issue – Mohan Gopi Jul 14 '16 at 12:14
  • List of devices attached adb server version (32) doesn't match this client (36); killing... error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket address (protocol/network address/port) is normally permitted. (10048) could not read ok from ADB Server * failed to start daemon * error: cannot connect to daemon – Diksha Rani Jul 15 '16 at 04:28
  • http://www.makeuseof.com/tag/android-wont-connect-windows-adb-fix-it-three-steps/ – Mohan Gopi Jul 15 '16 at 04:41

1 Answers1

0

I had same problem while running application with genymotion. I gave the custom path of my sdk in adb settings in configuration of genymotion. And it worked for me. Also same problem occurs if there is duplication of sdk paths.So you should also check your environment variables for that.

CThakur
  • 136
  • 8