thyrlian / AndroidSDK

🐳 Full-fledged Android SDK Docker Image
Apache License 2.0
1.25k stars 219 forks source link

error: could not install *smartsocket* listener: Address already in use #43

Closed huhailang9012 closed 3 years ago

huhailang9012 commented 3 years ago

huhailang@ubuntu:~$ adb connect 127.0.0.1:5037 adb server version (41) doesn't match this client (39); killing... ADB server didn't ACK Full server startup log: /tmp/adb.1000.log Server had pid: 55064 --- adb starting (pid 55064) --- adb I 11-04 20:16:14 55064 55064 main.cpp:57] Android Debug Bridge version 1.0.39 adb I 11-04 20:16:14 55064 55064 main.cpp:57] Version 1:8.1.0+r23-5ubuntu2 adb I 11-04 20:16:14 55064 55064 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb adb I 11-04 20:16:14 55064 55064 main.cpp:57] error: could not install smartsocket listener: Address already in use

huhailang@ubuntu:~$ ps aux | grep adb root 55298 0.0 0.1 248128 5896 ? Sl 20:16 0:00 adb -a server nodaemon & huhaila+ 55457 0.0 0.0 17664 724 pts/1 S+ 20:17 0:00 grep --color=auto adb

The process id 55298 is adb server, it start with the docker container. In addition, no other adb processes were found. Ive tried multiple variations of this, but none of them seem to work. Any ideas?

huhailang9012 commented 3 years ago

Sorry, I only discovered today that my emulator did not start up.