搭建了android的环境,第一步就是要运行一个helloworld了,相信各位跟我一样迫不及待了。但是在run as --》 android application的时候,出现了错误。

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

You must restart adb and eclipse.

Please ensure that ab is correctly located at "c:/Program Files/Android/android-sdk/platform-tools/adb.exe" and can be executed.

"

原因:发生这样的问题,是因为adb.exe 没有运行起来,或者说指定的路径下边没有改程序。


解决方法:

可以讲adb的路径添加到环境变量path当中,也可以将adb的文件拷贝到告警所描述的platform-tools目录中。


如果上述还没有解决,那么在cmd.exe 当中手动运行adb start-server 或者 adb.exe kill-server


如果仍然不能够运行的话,那么说明豌豆荚这个后台程序,在运行,并占用了一定的内容,因此删除该程序的后台即可!(这个问题找了很长时间。)

更多相关文章

  1. Pycharm安装PyQt5的详细教程
  2. Android学习笔记之mainfest文件中android属性
  3. android邮箱开发可以参考的相关开源资料
  4. Android(安卓)SDK Manager安装过程
  5. 31、android打开文件夹并列出里面的文件
  6. Android定制--------自定义关机时间
  7. RecyclerView正确打开分隔符
  8. Android(安卓)Studio 2.0 Instant Run问题
  9. android各个平台区别

随机推荐

  1. 编译Android内核模块
  2. Android(安卓)build.gradle buildConfigF
  3. VMware安装Android虚拟机及adb调试
  4. Android七大布局
  5. Android访问服务器出现W/System.err(9302
  6. 一个不错的启动菜单显示屏动画效果
  7. Android消息机制
  8. Ubuntu 16.04编译Android,make 版本过高
  9. 针对Android(安卓)模拟器启动慢的问题
  10. android特效展示一:ListView