美文网首页
Android adb.exe程序启动不起来

Android adb.exe程序启动不起来

作者: andy_tu | 来源:发表于2017-11-28 17:41 被阅读0次

运行android程序控制台输出

[2012-07-18 16:18:26 - ] The connection to adb is down, and a severe error has occured.

[2012-07-18 16:18:26 - ] You must restart adb and Eclipse.

[2012-07-18 16:18:26 - ] Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be executed.

解决问题:

百度google大家多说的是任务管理器 kill掉adb 或者重启adb server,但我任务管理器就没有adb ,猜测是某个程序占用了adb端口。于是按此思路查找。

5037为adb默认端口 查看该端口情况如下:

netstat -aon|findstr "5037"

TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 6540

发现6540占用了 5037端口,继续查看6540的task,发现是wandoujia .如下所示

tasklist|findstr "6540"

wandoujia_daemon.exe 6540 Console 1 4,276 K

接下来问题就好解决了,在任务管理器kill掉wandoujia_daemon.exe ,运行android程序,ok .

1.关闭豌豆荚进程

2.adb kill-server

3.adb start-server

4.重启Eclipse

OK

如何操作 adb kill-server和adb start-server

cmd窗口

1、打开cmd窗口,进入adb.exe所在的文件夹目录,(adb是android中的一个很有用的工具,用来查看android虚拟机中内容,并进行相应操作),因为我的android-sdk-windows是放在D盘上,所以要先进入D盘,直接输入D:

如图所示就可以直接进入D盘了,再输入cd android-sdk-windows\platform-tools 从而进入了adb.exe所在的目录。

相关文章

  • Android adb.exe程序启动不起来

    运行android程序控制台输出 [2012-07-18 16:18:26 - ] The connection ...

  • adb命令行相关

    adb命令行快捷启动 安装AndroidSDK 找到adb.exe的位置,大概是下面这个样子:D:\Android...

  • Android Context简介

    概述 Android程序和Java程序一个不同的地方在于Android程序不能仅仅通过一个main方法就启动起来,...

  • Android - adb.exe -- run manuall

    【android】Android Studio连接手机没反应,提示错误adb.exe start-server' ...

  • APP进程启动过程

    应用程序进程启动过程,Android7.0为例。 应用程序进程,启动应用程序从启动应用程序进程开始。点击应用程序启...

  • adb端口被占用问题

    今天Android Studio上的adb突然报错“adb.exe,start-server' failed --...

  • 【Android】Handler机制

    Android线程相关 Android应用程序的main函数在ActivityThread中。程序启动后会有默认的...

  • Android系统启动流程(源码分析)

    源码查看工具:Source Insight参考:Android系统启动流程Android应用程序启动过程源代码分析...

  • 2018-11-17

    Android Studio无法正常连接手机,提示错误adb.exe start-server' failed -...

  • Android应用程序消息处理机制

    Android应用程序消息处理机制 Android应用程序通过消息驱动,Android应用程序的每一个线程在启动时...

网友评论

      本文标题:Android adb.exe程序启动不起来

      本文链接:https://www.haomeiwen.com/subject/oqpebxtx.html