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

来源:互联网 发布:yy频道头像源码 编辑:程序博客网 时间:2024/05/21 10:33

解决Android报错:The connection to adb is down, and a severe error has occured


解决方法一(各种重启):

Try below steps:

Close the Eclipse if running
Go to the Android SDK platform-tools directory in Command Prompt
type adb kill-server
then type adb start-server
No error message is thrown while starting ADB server, then adb is started successfully.
Now you can start Eclipse again.
it worked for me this way, Eclipse should be closed before issuing these commands.


Restart your phone as well!



解决方法二:

Open up the Windows task manager, and kill the process named adb.exe, re-launch the program.

打开任务管理器,杀adb.exe进程,重新启动程序


更多解决方法:http://stackoverflow.com/questions/4072706/the-connection-to-adb-is-down-and-a-severe-error-has-occured


=======================

发现一个新的问题:





原来是adb.exe 移到 platform-tools目录了,那就把 platform-tools 的路径添加到PATH环境变量里吧。