Android ADB didn't ack issue in eclipse

2019-01-14 13:34发布

I have spent around 5 hrs on this problem. I have read the same question on stackoverflow, but none of the solutions solved my problem... First, it gives me:

[2013-02-28 14:48:21 - adb] ADB server didn't ACK
[2013-02-28 14:48:21 - adb] * failed to start daemon *

To solve that, I kill the adb.exe in task manager, restart eclipse. Then go to DDMS, reset adb. NO LUCK...

Then, I go to command line window, type adb kill-server and adb start-server, it gives me:

adb server is out of date. killing...
ADB server didn't ACK
fail to start deamon

Now I don't know what to do. I have a project to develop on eclipse, so really need to solve this problem soon. Someone please help!!

(As many solution indicated, I killed my adb.exe thousands of times, but it showed up immediately in task manager after 2 seconds. )

标签: android adb
10条回答
一纸荒年 Trace。
2楼-- · 2019-01-14 14:09

I had the same problem, here is what actually helped me:

  1. Go to platform-tools in Android SDK directory.

  2. Type:

    adb nodaemon server

    Output:

    cannot bind 'tcp:5037'

  3. Now I know the reason adb not responsive is because it can not bind to port 5037. Use following command to find out the process that occupies the port:

    netstat -ano | findstr 5037

    Output:

    Find port binding

  4. Note that process with PID 4888 is occupying port 5037.

  5. Open Task Manager, click on Details tab, find the process and kill it, tfadb.exe in this case. it may vary for me it is sh.exe and port 4599 and delete all adb.exe

    Processes

  6. Retry adb kill-server and adb start-server, hopefully adb is up running fine.

    Fine

查看更多
Emotional °昔
3楼-- · 2019-01-14 14:11

Killing the process in the TASK MANAGER solves it in my case. After killing it run adb start-server or adb devices and you should be fine

查看更多
我想做一个坏孩纸
4楼-- · 2019-01-14 14:12

I have tried many approaches I've found here, but just one worked out perfectly:

UNINSTALL AVAST ANTIVIRUS!

查看更多
Deceive 欺骗
5楼-- · 2019-01-14 14:14

Here Is your Solution

  1. Kill ADB process
  2. CLose Eclipse
  3. Remove Lock File .metadata of workspace
  4. Ensure Only one Java Whether JDK or JRE in installed if found remove the previous version
  5. Use Ccleaner to remove Temp files
  6. Clean Registry too
  7. Restart the system
  8. Restart Eclipse
查看更多
登录 后发表回答