[2014-04-16 14:01:05 - Abc] ------------------------------
[2014-04-16 14:01:05 - Abc] Android Launch!
[2014-04-16 14:01:05 - Abc] The connection to adb is down, and a severe error has occured.
[2014-04-16 14:01:05 - Abc] You must restart adb and Eclipse.
[2014-04-16 14:01:05 - Abc] Please ensure that adb is correctly located at 'D:\adt-bundle-windows-x86-20131030\sdk\platform-tools\adb.exe' and can be executed.
Run Code Online (Sandbox Code Playgroud)
我在尝试运行程序时发生了上述错误.作为一个解决方案,我通过打开comand promt做了以下步骤.
Close the Eclipse if running
Go to the Android SDK platform-tools directory in Command Prompt
type adb kill-server
then type adb start-server
No error message is thrown while starting ADB server, then adb is started successfully.
Now you can start Eclipse again.
Run Code Online (Sandbox Code Playgroud)
但它没有起作用,而且它在命令promt中显示出来
守护程序没有运行.现在在端口5037上启动它 ADB服务器没有确认 失败启动DAEMON
小智 20
参考链接:http://www.programering.com/a/MTNyUDMwATA.html
我执行的步骤1)adb nodaemon server在命令提示符下执行命令命令提示符下的输出将是:发生以下错误无法绑定'tcp:5037'原始ADB服务器端口绑定失败
2)使用端口5037输入以下命令查询
netstat -ano | findstr "5037"
在命令提示符下将提示以下信息:TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 9288
3)查看任务管理器,关闭所有adb.exe
4)重启eclipse或其他IDE
以上步骤对我有用.
| 归档时间: |
|
| 查看次数: |
94711 次 |
| 最近记录: |