与adb的连接已关闭,并且发生了严重错误,ADT

时间:2014-10-01 07:22:30

标签: android eclipse adt

我对此问题感到非常沮丧,请注意我阅读了以下帖子,但它没有帮助!:

The connection to adb is down, and a severe error has occurred

Android ADB didn't ack issue in eclipse

当我运行我的Android应用程序(首先构建)时:

[2014-10-01 15:13:09 - jizhang] ------------------------------
[2014-10-01 15:13:09 - jizhang] Android Launch!
[2014-10-01 15:13:09 - jizhang] The connection to adb is down, and a severe error has occured.
[2014-10-01 15:13:09 - jizhang] You must restart adb and Eclipse.
[2014-10-01 15:13:09 - jizhang] Please ensure that adb is correctly located at 'E:\Programming\ADT\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\adb.exe' and can be executed.

根据主题,我做:

1.我在我的进程中找不到adb.exe,所以我无法杀死它。

2.我尝试过类型adb kill-server,cmd说server not running

3.然后我输入adb start-server, 但它说:

adb server is out of date, killing
ABD serevr didn't ACK 
*failed to start daemon* 

4.我确认我的abd.exe位于E:\ Programming \ ADT \ adt-bundle-windows-x86_64-20140702 \ sdk \ platform-tools

我曾尝试重启eclipse和我的电脑(Windows 7)几次!

请帮忙。

根据Android ADB didn't ack issue in eclipse

的第二个答案

我输入类型:

adb nodaemon server

输出:cannot bind 'tcp:5037'

然后netstat -ano | findstr 5037

两个输出: enter image description here

但我在taskManager中找不到 enter image description here

所以,我使用taskkill / pid XXXX -f来杀死它。

但是当我杀了它,我发现了另一个pid:

仍然在127.0.0.1:5037 ......

我不知道那是什么!!!我有办法改变adb的端口吗?

0 个答案:

没有答案