Trying to use adb shell
from terminal after starting genymotion emulator and I get this error:
adb server is out of date. killing...
cannot bind 'tcp:5037'
ADB server didn't ACK
* failed to start daemon *
error:
I read in this answer on stackoverflow to run this command killall -9 adb
so I did and then it says to change genymotion settings to use custom Android SDK tools as the following:
Also did that as you can see in the above screenshot but I still keep getting the same error message.
My android Studio ADB logs give the following message whenever I try to run adb shell
:
DeviceMonitor: Adb connection Error:EOF
DeviceMonitor: Connection attempts: 1
I even tried creating a new virtual device and using it without any success.
update the adb to 1.0.32 if you have 1.0.31 or lower
adb version
Android Debug Bridge version 1.0.31
wget -O - https://skia.googlesource.com/skia/+archive/cd048d18e0b81338c1a04b9749a00444597df394/platform_tools/android/bin/linux.tar.gz | tar -zxvf - adb
sudo mv adb /usr/bin/adb
sudo chmod +x /usr/bin/adb
adb version
Android Debug Bridge version 1.0.32