eclipse真机调试android应用的时候,无法正常连接

oSuperkinG 2015-10-04 10:00:40
真机设备可以看到,如图:

但是后面logcat里面报了一个错误:

并且debug窗口里面是no responsding,过会儿程序就退出了。


奇怪的是,程序被成功安装到了真机上面,还能够正常运行……
连接海马玩模拟器倒是可以正常调试,我想知道这是怎么回事?因为我要调试的是一个定位app,模拟器测试虽然可以用但是真机安装后有些问题,现在需要在实际手机上测试下问题所在。

这是console控制台的报错,百度说是已经有开启了的avd,但是我所有的模拟器都关闭了的啊。

...全文
378 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
阴鸦 2018-02-03
  • 打赏
  • 举报
回复
Application com.example.ai.myapplication is waiting for the debugger on port 8100...这个问题怎么解决啊,
oSuperkinG 2015-10-20
  • 打赏
  • 举报
回复
引用 1 楼 stzxxx 的回复:
是啊,我也碰到这了样的问题,我帮你顶一下。
刷了手机换了个系统倒是可以了,感觉很奇怪,没有继续研究。
  • 打赏
  • 举报
回复
这个关闭eclipse,再重新打开试试,应该可以。
oSuperkinG 2015-10-04
  • 打赏
  • 举报
回复
下面是从logcat里面复制出来的,希望能有大神解读下,看看问题出在哪儿?



10-04 22:12:34.025: D/dalvikvm(30013): create interp thread : stack size=128KB
10-04 22:12:34.026: D/dalvikvm(30013): create new thread
10-04 22:12:34.026: D/dalvikvm(30013): new thread created
10-04 22:12:34.026: D/dalvikvm(30013): update thread list
10-04 22:12:34.026: D/dalvikvm(30013): threadid=11: interp stack at 0x64144000
10-04 22:12:34.026: D/dalvikvm(30013): threadid=11: created from interp
10-04 22:12:34.026: D/dalvikvm(30013): start new thread
10-04 22:12:34.026: D/dalvikvm(30013): threadid=11: notify debugger
10-04 22:12:34.026: D/dalvikvm(30013): threadid=11 (LaunchIconThemeResource): calling run()
10-04 22:12:34.030: V/Provider/Settings(30013): get setting for user 0 by user 0 so skipping cache
10-04 22:12:34.031: V/Provider/Settings(30013): invalidate [system]: current 2445 != cached 0
10-04 22:12:34.034: D/ActivityThread(30013): hoder:android.app.IActivityManager$ContentProviderHolder@425673a0,provider,holder.Provider:android.content.ContentProviderProxy@42567b20
10-04 22:12:34.036: V/Provider/Settings(30013): from db cache, name = lenovo_desktop_theme , value = com.lenovo.launcher
10-04 22:12:34.039: V/Provider/Settings(30013): get setting for user 0 by user 0 so skipping cache
10-04 22:12:34.040: V/Provider/Settings(30013): from db cache, name = anr_debugging_mechanism , value = 1
10-04 22:12:34.042: D/asset(30013): AssetManager-->addDefaultAssets CIP path not exsit!
10-04 22:12:34.044: W/ActivityThread(30013): Application com.baidu.baidulocationdemo is waiting for the debugger on port 8100...
10-04 22:12:34.045: I/System.out(30013): Sending WAIT chunk
10-04 22:12:34.063: I/dalvikvm(30013): Debugger is active
10-04 22:12:34.105: D/jdwp(30013): --> SLEEPING, Not SUSPENDED
10-04 22:12:34.106: D/jdwp(30013): --> SLEEPING, Not SUSPENDED
10-04 22:12:34.114: D/jdwp(30013): --> RUNNING, Not SUSPENDED
10-04 22:12:34.115: D/jdwp(30013): --> RUNNING, Not SUSPENDED
10-04 22:12:34.121: D/jdwp(30013): --> RUNNING, Not SUSPENDED
10-04 22:12:34.122: D/jdwp(30013): --> RUNNING, Not SUSPENDED
10-04 22:12:34.127: D/jdwp(30013): --> RUNNING, Not SUSPENDED
10-04 22:12:34.128: D/jdwp(30013): --> RUNNING, Not SUSPENDED
10-04 22:12:34.136: D/jdwp(30013): --> WAIT, Not SUSPENDED
10-04 22:12:34.137: D/jdwp(30013): --> WAIT, Not SUSPENDED
10-04 22:12:34.141: D/jdwp(30013): --> WAIT, Not SUSPENDED
10-04 22:12:34.142: D/jdwp(30013): --> WAIT, Not SUSPENDED
10-04 22:12:34.149: D/jdwp(30013): --> WAIT, Not SUSPENDED
10-04 22:12:34.151: D/jdwp(30013): --> WAIT, Not SUSPENDED
10-04 22:12:34.155: D/jdwp(30013): --> WAIT, Not SUSPENDED
10-04 22:12:34.156: D/jdwp(30013): --> WAIT, Not SUSPENDED
10-04 22:12:34.161: D/jdwp(30013): --> WAIT, Not SUSPENDED
10-04 22:12:34.164: D/jdwp(30013): --> WAIT, Not SUSPENDED
10-04 22:12:34.168: D/jdwp(30013): --> WAIT, Not SUSPENDED
10-04 22:12:34.169: D/jdwp(30013): --> WAIT, Not SUSPENDED
10-04 22:12:34.247: A/libc(30013): Fatal signal 11 (SIGSEGV) at 0x0000000a (code=1), thread 30013 (idulocationdemo)
10-04 22:12:44.657: V/Provider/Settings(30119): from db cache, name = lenovo_desktop_theme , value = com.lenovo.launcher
10-04 22:12:44.661: V/Provider/Settings(30119): get setting for user 0 by user 0 so skipping cache
10-04 22:12:44.663: V/Provider/Settings(30119): from db cache, name = anr_debugging_mechanism , value = 1
10-04 22:12:44.666: D/asset(30119): AssetManager-->addDefaultAssets CIP path not exsit!
10-04 22:12:44.668: W/ActivityThread(30119): Application com.baidu.baidulocationdemo is waiting for the debugger on port 8100...
10-04 22:12:44.669: I/System.out(30119): Sending WAIT chunk
stzxxx 2015-10-04
  • 打赏
  • 举报
回复
是啊,我也碰到这了样的问题,我帮你顶一下。

80,350

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧