I was trying to run react-native application (Created using create-react-native-app) on Genymotion in my Ubuntu PC.
When I run npm run android I'm getting this error,
could not install *smartsocket* listener: Address already in use
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
So I searched and followed first answer of this stackoverflow question. (When I first run adb kill-server it showed that adb is not found so I installed it using sudo apt install adb )
But when I run adb start-server (according to the answer) I'm getting this error now,
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
Why is that ? What have I done wrong ?