I'm on debian buster. I have genymotion installed and running, and a CRNA app that I'm trying to run. I have Android SDK installed, and set properly in my path. I have changed the genymotion settings to point to my Android SDK folder.
When I do yarn run android
I see
error: could not install *smartsocket* listener: Address already in use
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
When I do adb start-server
I see
adb server version (39) doesn't match this client (36); killing...
error: could not install *smartsocket* listener: Address already in use
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
I have run adb kill-server
, and manually killed and restarted the ADB process many times. Every fix I've found to this issue does not work.
Is there something I'm missing? Is there some comprehensive guide on setting all of this up? I'm willing to do a fresh install if I have to.
Glad that I was able to help you. :)
As suspected, the machine contains two different versions of adb
installed, one by the Android SDK, and another installed probably with another tool or program which contains adb
packaged with it (maybe the fastboot tools). With two versions being executed at different times, the adb server would complain with errors as posted in your question.
Although you were able to solve this by setting genymotion to use the installed tool's adb
, it is advised to actually uninstall the tool and configure the environment variables (PATH
and ANDROID_HOME
) to include the adb
that came with the Android SDK. This modification would be needed if you would be considering to use more tools that depend on adb
such as Android Studio or others.