Failed to parse the output of 'adb version'?

43,360

Solution 1

Yes i had the same problem after i had did the update,

however, i have just fixed it :) TO FIX THE PROMBLEM:

in folder: \android-sdk-windows\ go to folder \platform-tools ; copy the files and paste in to folder \tool

Restart the Eclipse

Solution 2

turned off COMODO Defense+ module and all worked....

Solution 3

If you have comodo internet security installed, you dont have to shut this feature down:

  1. run comodo settings
  2. defense+
  3. list active processes
  4. add adb.exe to trusted processes
  5. restart server: run "adb kill-server" "adb start-server"

EDIT: For user of Comodo 6.x

  1. Open Comodo
  2. Click Tasks Icon at right top
  3. Click Advanced Tasks
  4. Click Open Advanced Settings
  5. Select Security Settings --> File Rating --> Trusted files from left panel
  6. Click on the upward arrow icon at the bottom
  7. Click Add --> add the adb.exe

there you go :) Hope this helps

Solution 4

I messed with all the solutions provided above, but I found another one-

Try launching eclipse with administrator privileges

RUN AS ADMINISTRATOR

hope it'll do the job.

Solution 5

After installing 2.3 SDK I got adb inside D:\AndroidSetup\android-sdk- windows\platform-tools directory. I had set this path in environment variable and my problem is solved.

Share:
43,360
Mohit Deshpande
Author by

Mohit Deshpande

I am a researcher at The Ohio State University in the field of computer vision and machine learning. I have worked as a mobile apps instructor for Zenva and current work as a writer for Zenva in machine learning.

Updated on July 25, 2022

Comments

  • Mohit Deshpande
    Mohit Deshpande almost 2 years

    I am running Windos 7 and Eclipse 3.5 and I don't know why I keep getting this error. When I try run the program it gives me:

    [2010-02-13 23:09:41 - HelloAndroid]The connection to adb is down, and a severe error has occured.
    [2010-02-13 23:09:41 - HelloAndroid]You must restart adb and Eclipse.
    [2010-02-13 23:09:41 - HelloAndroid]Please ensure that adb is correctly located at 'C:\Users\Mohit\Documents\AndroidSDK\tools\adb.exe' and can be executed.
    

    I even tried runing Eclipse and adb.exe as admin. What is going on? How can I fix this and start making Android apps?

  • Mohit Deshpande
    Mohit Deshpande about 14 years
    Well I tried to kill and start the server. So I guess the problem is the blocked 5037 port. So how do I unblock it? (I am running Windows 7 Pro)
  • VonC
    VonC about 14 years
    @Mohit: since netstat -o does include the process id (PID) in its output, you could try and kill any process linked to that port.
  • Mohit Deshpande
    Mohit Deshpande about 14 years
    Weird, port 5037 is not listed. The closest thing to it would be the 5040 port.
  • VonC
    VonC about 14 years
    @Mohit: depending on your configuration, the port number might be different. A tool like a Process Explorer (technet.microsoft.com/fr-fr/sysinternals/bb896653.aspx) can show you if the PID associated with that port number is a abd one.
  • VonC
    VonC about 14 years
    netstat will not list directly abd. Did you mean your Process Explorer does not display any abd process?
  • Dominic Tancredi
    Dominic Tancredi about 13 years
    There's a file in /tools called "adb_has_moved.txt" that explains this issue and says you need to update the PATH vars to include /platform-tools. Ram's right.
  • ol0
    ol0 over 11 years
    Indeed it was COMODO's fault in my case
  • Menion Asamm
    Menion Asamm almost 11 years
    omg, after more then half a day re-installing, testing etc ... damn COMODO and thanks Cool Khan!!
  • xorinzor
    xorinzor almost 11 years
    it was the behavior blocker in my case that did evil, disabling it when starting Eclipse works
  • Ahamed
    Ahamed over 10 years
    Add the adb.exe to trusted files. It will work like a charm. No need to turn off comodo.
  • Owen B
    Owen B over 10 years
    +1 for checking Comodo, dammit! What's annoying is that i'd already exited Comodo from the tooltray, so had foolishly assumed it couldnt be affecting me. Restarted, added to the defense+ list and we're good.
  • PolyMesh
    PolyMesh about 10 years
    I tried pretty much everything else I could find on the subject of adb.exe hanging/freezing, nothing else worked. Thanks. Hope it keeps working!