Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

710
Views
adb no puede conectarse al daemon en tcp: 5037

Mi adb no puede conectar dispositivos. Estoy ejecutando adb start-server

 ulucudeMacBook-Pro:~ ulucu$ adb start-server * daemon not running. starting it now at tcp:5037 * * daemon started successfully *

Luego ejecute " lsof -i tcp:5037 "

 ulucudeMacBook-Pro:~ ulucu$ lsof -i tcp:5037 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME adb 2308 ulucu 7u IPv4 0x440443a862048a7b 0t0 TCP localhost:5037 (LISTEN)

Pero cuando ejecuto adb kill-server

 ulucudeMacBook-Pro:~ ulucu$ adb kill-server * server not running *

o ejecutar adb devices o adb shell

 List of devices attached * daemon not running. starting it now at tcp:5037 * adb E 03-31 09:30:26 2350 95705 usb_osx.cpp:333] Could not open interface: e00002c5 adb E 03-31 09:30:26 2350 95705 usb_osx.cpp:294] Could not find device interface error: could not install *smartsocket* listener: Address already in use ADB server didn't ACK * failed to start daemon * error: cannot connect to daemon

El adb se ha estado ejecutando.
No hay otros procesos que utilicen el puerto "5037".
Ningún otro simulador como "genymotion".
Mi sistema es Mac 10.12.14.
Mi versión de adb es 1.0.39.

¿Cuál es el problema?

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Si ha actualizado a Platform Tools 25.0.4 (puede comprobar si ejecuta Android desde la línea de comandos) y no funciona

Simplemente descargue la versión estable anterior, por ejemplo: https://dl.google.com/android/repository/platform-tools_r25.0.2-macosx.zip

Luego, vaya al directorio de inicio de su SDK de Android y reemplace la carpeta de herramientas de la plataforma con la descargada.

Entonces hazlo:

 ps aux | grep 5037 kill -9 <pid of process of your incorrectly running adb>

Y ve

 adb devices
over 4 years ago · Santiago Trujillo Report

0

adb kill-server

si ocurre un error con el puerto:

adb reconnect resolverlo para mí

over 4 years ago · Santiago Trujillo Report

0

Según este hilo , no puede conectarse porque la dirección ya está en uso. Puede probar con busybox netstat -antp para verificar quién está usando el puerto. Aquí hay otra solución que podría ayudar:

Resuelva este problema en MacBook ejecutando primero el siguiente comando para enumerar el proceso que está utilizando el puerto 5037

 lsof -n -i4TCP:5037 | grep LISTEN

Entonces, lo mato:

 kill -9 <PID>

¡Entonces, adb devices funcionan!

¡Espero que esto ayude!

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!