Android - could not install *smartsocket* listener

couldn't start project on android: could not install *smartsocket* listener
android sdk install
adb server killed by remote request * failed to start daemon error cannot connect to daemon
failed to start daemon react-native
emulator: emulator: error: adbhostserver.cpp:93: unable to connect to adb daemon on port: 5037
genymotion adb version
unable to peek into adb socket due to error. closing socket.: connection reset by peer
android studio

When I try run my Android application I get this exception:

Error while waiting for device: java.lang.RuntimeException: Unable to create Debug Bridge: Unable to start adb server: error: could not install smartsocket listener: cannot bind to 127.0.0.1:5037: An attempt was made to access a socket in a way forbidden by its access permissions. (10013) could not read ok from ADB Server * failed to start daemon * error: cannot connect to daemon 'C:\Users\XXX\AppData\Local\Android\Sdk\platform-tools\adb.exe,start-server' failed -- run manually if necessary

So I try do it manualy with these commands:

adb kill-server

  • response: * server not running *

adb start-server

  • response was next exception:

*daemon not running. starting it now on port 5037 * error: could not install smartsocket listener: cannot bind to 127.0.0.1:5037: An attempt was made to access a socket in a way forbidden by its access permissions. (10013) could not read ok from ADB Server

*failed to start daemon * error: cannot connect to daemon

I looking for adb process in my task manager but not running. Any ideas? Thanks.

If you have the situation where this keeps happening and killing and restarting still doesn't work it may be a problem with your adb installation. I had to reinstall adb to resolve this problem:

  1. Reboot to ensure no instances of adb is running
  2. Launch SDK Manager in Android Studio: Tools->Android->SDK Manager
  3. Select the SDK Tools tab
  4. Deselect Android SDK Platform-Tools item
  5. Hit Apply
  6. Check the on screen logs to make sure the un-installation succeeded and that the SDK/platform-tools folder is empty.

This should completely remove adb from your SDK.

  1. Now re-select the Android SDK Platform-Tools item
  2. Hit apply
  3. Check the on screen logs that installation was successful.

I suspect in my case an update of the platform tools had failed perhaps because it failed to kill a running adb.exe and only a partial update was applied resulting in an unstable adb installation.

reactive run-android failed "could not install *smartsocket* listener , Error: could not install *smartsocket* listener: Permission denied #667 Installed as /snap/scrcpy/136/usr/lib/android-sdk/platform-tools/adb  I like to flash my android smartphone. As we all know, there are (at lease) two tools we could use when flashing phones: adb and fastboot. But I met a problem when I try to run new adb server, it keep showing the this message in my terminal: The Message “error: could not install smartsocket listener: Address already in use”

Open command prompt and enter following command

netstat -ano | findstr :5037

This will show procees id

TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 832

832 is procees id

Now run command

tasklist | findstr processID (e.g tasklist | findstr 832)

It will show process name like bash.exe

just go to task manager and end the task bash.exe and use following command to start adb

adb start-server

voillllaaaaaaa........

Error: could not install *smartsocket* listener: Permission denied , RuntimeException: Unable to create Debug Bridge: Unable to start adb server: error: could not install smartsocket listener: cannot bind to 127.0.0.1:5037: An  reactive run-android failed "could not install *smartsocket* listener: Address already in use" #8401 node-rookie opened this issue Jun 24, 2016 · 29 comments Labels

I solved this for myself by simply closing the shell I'd been running adb commands in and starting a new one, inspired by Vinayak Mestri's answer.

could not install *smartsocket* listener - android, Problem: daemon not running. starting it now on port 5037 error: could not error: could not install smartsocket listener: cannot bind to 127.0.0.1:5037: XXX(​10048) could not read Posted by zjs1e4o9x in Android at Feb 15, 2017 - 9:48 PM  Error: could not install *smartsocket* listener: Permission denied #667. Closed I also had to install Android API 29 by Android Studio. Thanks!

In my case, the culprit is Visual Studio 2017. I found out this with the help of Vinayak's answer. I just closed Visual Studio 2017, then ADB started working.

error: could not install *smartsocket* listener: cannot bind to 127.0 , This article is about error message: “error: could not install smartsocket listener: Address already in use”. I like to flash my android smartphone. Couldn't start project on Android: 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

Restarting adb server uns an External terminal (CMD) did the job for me:

Android-SDK/platform-tools/adb.exe kill-server
Android-SDK/platform-tools/adb.exe start-server

error: could not install smartsocket listener: Address already in use, Couldn't start project on Android: could not install *smartsocket* listener: cannot (10048) could not read ok from ADB Server * failed to start daemon * error:  Couldn't start project on Android: 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

Genymotion is not responding. Error - Help: Expo SDK, Couldn't start project on Android: could not install *smartsocket* listener: Address already in use ADB server didn't ACK * failed to start daemon * error: cannot  Couldn't start project on Android: 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

could not install *smartsocket* listener. Expo, Android - could not install *smartsocket* listener (10013) could not read ok from ADB Server * failed to start daemon * error: cannot connect to  I had the same issue, found the solution here: stackoverflow - Android - could not install smartsocket listener. In summary, for windows: Open command prompt and enter following command. netstat -ano | findstr :5037 example output - final column is process id (PID) TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 832 in this example, 832 is PID. Now run command

Android emulator not running · Expo, Couldn't start. project on Android: could not install *smartsocket* listener: Address already in use. ADB server didn't ACK. * failed to start  couldn't start project on Android: could not install *smartsocket* listener: Address already in use ADB server didn't ACK * failed to start daemon * error: cannot connect to daemon I then installed Android SDK by downloading it from Google's website and using the Mac OS X desktop installer.

Comments
  • your answer made my day. I was struggling with this issue for 4 days now. Upvoted
  • netstat: illegal option -- o - Help!