问题
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
回答1:
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:
- Open Genymotion > Settings > ADB.
- Check Use custom Android SDK tools.
- Specify the path to the Android SDK by clicking Browse.
- Click OK.
回答2:
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
回答3:
for me the problem was that I am trying to use 2 adb processes
sudo apt-get remove adb android-tools-adb android-tools-fastboot
then go to your sdk and run ./adb start-server
回答4:
Just Try this out !!!
Issue kill and start command in \platform-tools\
C:\sdk\platform-tools>adb kill-server
C:\sdk\platform-tools>adb start-server
Go to your specified sdk in this case here i have use C:\sdk but you must go the place where SDK and kill servers.
Let me know if it works.
回答5:
Sometime, like it or not. The command "adb kill-server" have not effect.
So, please try other way
taskkill /f /im "adb.exe"
adb start-server
timeout 5
adb devices
pause
Copy it to notepad and save them with extension is ".bat"
ex: re-start.bat
Now, you can restart adb very quickly by double click to file !!!
回答6:
For users of Genymotion, just do this:
ps aux | grep adb
Then look at /home/root/Android/Sdk/platform-tools/adb.
Copy and paste it to your terminal:
exa:- /home/buffer/Android/Sdk/platform-tools/adb devices
Hopefully you will see:
your ip address:5555 device
回答7:
Faced the Same Issue, doing the below steps it worked fine
sudo cp /home/username/Android/Sdk/platform-tools/adb /usr/bin/adb
sudo chmod +x /usr/bin/adb
that's it after this your adb will work fine
来源:https://stackoverflow.com/questions/31488197/adb-server-is-out-of-date-killing-cannot-bind-tcp5037-adb-server-didnt-a