Android------- The connection to adb is down, and a severe error has occured.

装了KuGou后就出现这样:

  The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at 'D:\program\develop\eclipse\android_sdk\sdk\platform-tools\adb.exe' and can be executed. 

解决方法:

1.卸载KuGou,(试过关了酷狗,重启机器后也可以),

2.改变Android端口:

-----------------------------------------------------

C:\Users>netstat -ano|findstr "5037"
  TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       5636
C:\Users>tasklist|findstr "5636"
kadb.exe                      5636 Console                    1      6,332 K

如何改变adb的默认端口呢?

在操作系统的系统环境里面,加一个环境变量:

ANDROID_ADB_SERVER_PORT,值为9999,看自己喜欢。

然后, 重启电脑,可以鸟。

注意DOS窗口如果未关闭,要先关闭再开,否则端口还是老的。--------------------------------------------------------------------------来自:http://blog.csdn.net/leftfist/article/details/38089621

http://blog.csdn.net/mexican_ok/article/details/21824039

http://jingyan.baidu.com/article/3c48dd34491d47e10be358b8.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值