NO.1 You must restart adb and Eclipse多种情形分析与解决方式

Posted gccbuaa

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了NO.1 You must restart adb and Eclipse多种情形分析与解决方式相关的知识,希望对你有一定的参考价值。

一:错误提示

The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at ‘D:\xxx\xxx\adb.exe’and can be executed.

二: 5037port被占用


    a: 開始菜单 → 执行 → cmd → 回车执行
    b: netstat -aon|findstr "5037" → 回车执行 → 得到5037port执行程序PID
    c: tasklist|findstr "要查询的PID" → 回车执行 → 得到5037port执行程序的名称
    d: 打开任务管理器 → 关闭查询到的程序,释放5037port

三:adb server意外终止


    a: 重新启动adb server

四:因更新adt而导致adb server无法使用


    a: 重新启动adb server → 重新启动后无效,则继续运行以下的步骤
    a: 启动一个虚拟机,并保持启动
    b: 重新启动Eclipse

五:系统找不到adb文件夹


    a: android-sdk/tools
    b: android-sdk/platform-tools

    c: 将上述2个路径加入到系统环境变量path中.


























以上是关于NO.1 You must restart adb and Eclipse多种情形分析与解决方式的主要内容,如果未能解决你的问题,请参考以下文章

sh WTF_YOU_MUST_UPGRADE_COCOAPODS.sh

Ubuntu : dpkg was interrupted,you must manually run

mysql 报错ERROR 1820 (HY000):You must resetpassword

sudo: Sorry, you must have a tty to run

高手 进Reader pcsc Driver Error You Must Reinstall Reader Driver

ERROR 1820 (HY000): You must reset your password