Android问题集--不断更新中

来源:互联网 发布:java编码转换类 编辑:程序博客网 时间:2024/04/30 13:34

本文只收录本人开发过程中遇到的问题,以及对应的解决方案。

1、问题: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:\Program Files\Android\android-sdk\platform-tools\adb.exe' and can be executed.

解决方案:C:\Users\wucj>adb kill-server

* server not running *


C:\Users\wucj>adb start-server
adb server is out of date.  killing...
ADB server didn't ACK
* failed to start daemon *


C:\Users\wucj>adb nodaemon server
cannot bind 'tcp:5037'

C:\Users\wucj>netstat -ano|findstr "5037"
  TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       8780

干掉进程id号为8780,从请Eclipse即可解决问题。

2、Eclipse调试快捷键介绍

 F5——单步调试进入函数内部

 F6——单步调试不进入函数内部

F7——由函数内部返回到调用处

F8——执行到下一个断点。




0 0
原创粉丝点击