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
  • 相关阅读:
    求解一元二次方程
    常用电脑软件
    c语言的布尔量
    unsigned int数据类型最大数
    int数据类型的最大数
    习题6-8 统计一行文本的单词个数
    习题6-6 使用函数输出一个整数的逆序数
    习题6-5 使用函数验证哥德巴赫猜想
    习题6-4 使用函数输出指定范围内的Fibonacci数
    C#委托、泛型委托
  • 原文地址:https://www.cnblogs.com/yefengmeander/p/2887974.html
Copyright © 2011-2022 走看看