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

Eclipse 编译工程时出现如下的错误提示:

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

You must restart adb and Eclipse.
Please ensure the adb is correctly located at 'D:\Android-Linux\android-sdk\platform-tools'

问题原因:
与手机连接软件冲突
解决方法:
(1) 91助手
结束91助手的进程和 AndroidInterface.exe,特别是后面的这个进程。
(2) 豌豆荚
结束豌豆荚的进程:wandoujia_XXX

另一个问题:
Eclipse 启动时弹出:
"Failed to create the Java Virtual Machine."
解决方法:
打开 Eclipse 解压目录下的配置文件 eclipse.ini
修改
--launcher.XXMaxPermSize
的值。由 256M 修改为 128M,生启动 Eclipse 就 OK 了。

posted @ 2016-02-16 16:59  91program  阅读(136)  评论(0编辑  收藏  举报