Android(java.lang.NullPointerException)
16lz
2021-12-19
[2011-09-14 13:44:16 - ddms]nulljava.lang.NullPointerException at com.android.ddmlib.Client.sendAndConsume(Client.java:572) at com.android.ddmlib.HandleHello.sendHELO(HandleHello.java:142) at com.android.ddmlib.HandleHello.sendHelloCommands(HandleHello.java:65) at com.android.ddmlib.Client.getJdwpPacket(Client.java:671) at com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:317) at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)
用模拟器运行过此程序,且在没有对程序做改动时点击run再次运行,则eclipse就会报告此错误,暂时没发现对调试有影响。
“Sometimes these things just get into a bad state and need to be restarted. Close the emulator and restart Eclipse. Start the emulator from the AVD Manager window using the button labelled "Start..". In the start dialog select the "WIPE ALL DATA" button to be sure you're getting a clean start.If that doesn't solve it then try deleting your emulator in the AVD Manager and creating a new one.“
更多相关文章
- android 如何判断程序是否在前台运行
- 想抢先体验Android操作系统的魅力吗?那就使用Android(安卓)LiveCD
- Android应用程序框架层和系统运行库层日志系统源代码分析
- Android上运行QT项目Necessitas的基本原理
- android 模拟器的使用(Android模拟器介绍及创建)
- Android(安卓)M 新的运行时权限开发者需要知道的一切
- 怎样用 C/C++ 开发一个原生程序运行在 Android(安卓)下而不用 AD
- 模拟器上安装Android(安卓)Market
- 想抢先体验Android操作系统的魅力吗?那就使用Android(安卓)LiveCD