Failed to parse the output of 'adb version'

2020-01-31 23:58发布

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?

9条回答
迷人小祖宗
2楼-- · 2020-02-01 00:06

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.

查看更多
狗以群分
3楼-- · 2020-02-01 00:06

What it work for me and this was because I move from one eclipse to another is to re install SDK and then re install ADT again, remove completly from eclipse ADT and re install.

查看更多
一纸荒年 Trace。
4楼-- · 2020-02-01 00:06

force to start sdk manager several times (try directly from the file explorer). when you could do that comodo may send a mesage. allow the issue. then start again the sdk manager and update. update eclipse then.

查看更多
孤傲高冷的网名
5楼-- · 2020-02-01 00:07

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.

查看更多
Fickle 薄情
6楼-- · 2020-02-01 00:10

Two options to solve this problem on windows:
Option 1:

  1. Close the eclipse, if it is running.
  2. Run the command prompt.
  3. Go to the tools location of the android sdk.
  4. run 'adb kill-server'
  5. then run 'adb start-server'.
  6. start the eclipse.

Option 2:

  1. Open the task manager.
  2. kill the adb process.
  3. start the eclipse.

Problem should be solved.

查看更多
女痞
7楼-- · 2020-02-01 00:12

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

查看更多
登录 后发表回答