Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

adb server is out of date. killing... cannot bind 'tcp:5037' ADB server didn't ACK * failed to start daemon * in ubuntu 14.04 LTS

I could not run the android application never on my laptop. Eclipse gives same error constantly, that is "ADB server didn't ack"

When I manage to start adb server and re-open eclipse, as soon as I run the android application, same error comes to console; ADB server didn't ack.

Could you give an idea except restarting adb

like image 606
Prakash Gajera Avatar asked Jul 18 '15 05:07

Prakash Gajera


2 Answers

You need to set the path of your SDK's adb into Genymotion. By default, Genymotion uses its own ADB tool (for many reasons). If the both binaries are not compatible (if your Android SDK platform tools or Genymotion has not been updated for a while) this problem happens.

To solve it you can define a specific one from the Android SDK. To specify a custom ADB tool:

  1. Open Genymotion > Settings > ADB.
  2. Check Use custom Android SDK tools.
  3. Specify the path to the Android SDK by clicking Browse.
  4. Click OK.
like image 54
eyal-lezmy Avatar answered Sep 25 '22 00:09

eyal-lezmy


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
like image 35
ashutosh kumar Avatar answered Sep 21 '22 00:09

ashutosh kumar