zoukankan      html  css  js  c++  java
  • Eclipse开发android报错The connection to adb is down

    报错如下:


    The connection to adb is down, and a severe error has occured.
    [2010-03-11 09:36:56 - HelloOPone] You must restart adb and Eclipse.
    [2010-03-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located at 'E:\Android\android-sdk\platform-tools\adb.exe' and can be executed.
    解决:
    方法1.cmd中adb kill-server,然后adb -startserver
    方法2.方法1不管用,那么在任务管理器中杀死adb.exe,然后重启Eclipse。
    方法3.方法1和2都不管用,那么查看最后一句报错中:platform-tools中是否有adb.exe(我的错误就是在相关路径下面没有platform-tools文件夹,所以我选择新建一个文件夹,并且把tools中的文件全部复制到platform-tools中)

    4.前面是别人总结的方法,我自己碰到的一种情况是“豌豆荚”或“手机助手”类的软件占用了adb,在任务管理器中停止“豌豆荚”及adb后重启adb或eclipse即可。

    5.直接重启电脑,然后运行SDK下面的SDK Manager.exe,选择Virtual devices,启动一个模拟器即可。

    6.

    To restart adb by command line:

    adb kill-server
    adb start-server

    To restart adb in Eclipse:

    1. Window > Show View > Other... > Android/Devices
    2. When the view is showing: View Menu of "Devices" > Reset adb
  • 相关阅读:
    python使用ORM之如何调用多对多关系
    ORM
    初学者用pycharm创建一个django项目和一个app时需要注意的事项
    CSRF verification failed. Request aborted.
    函数三生成器
    函数二函数进阶二
    函数二函数进阶
    函数一函数初识
    文件操作初识
    类型与运算五
  • 原文地址:https://www.cnblogs.com/yefengmeander/p/2887974.html
Copyright © 2011-2022 走看看