hi im getting the error:
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) This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. could not read ok from ADB Server * failed to start daemon * error: cannot connect to daemon 'C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server' failed -- run manually if necessary
How can I fix this issue? i have tried to uninstall the sdk platform tool and reinstall but that does not seem to work, any suggestions?
use:
adb start-server
also (to shutdown the server):
adb kill-server
(adb must be in the PATH)
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
tasklist | findstr _PID_ (e.g tasklist | findstr 832)
It will show process/service name like bash.exe
(for me it was MBAM.exe
)
go to task manager and end the task bash.exe
and use following command to start adb
adb start-server
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With