HelloAndroid 未使用 eclipse 在模拟器上启动

发布于 2024-10-22 12:28:22 字数 611 浏览 9 评论 0原文

我正在运行 android SDK 3.0 并尝试使用 eclipse adt 插件进行调试。我的 helloAndroid 应用程序有时会在模拟器上更新,但从未启动。有几个症状:

首先,我的控制台显示以下消息:

[2011-03-18 08:05:26 - ddmlib]已建立的连接被主机中的软件中止
java.io.IOException:已建立的连接被主机中的软件中止

其次,eclipse 中的 logcat 视图包含大量以下消息:

03-18 12:13:13.243:INFO/jdwp(387):忽略第二个调试器——接受和删除

第三,除了控制台视图之外,Eclipse 中的 DDMS 透视图完全是空白的。

我尝试重新安装 ADT 和平台。我尝试在模拟器目标上设置开发工具进行调试(开发工具>开发设置>等待调试器)。我尝试更改一些调试配置(手动/自动、启动默认活动、启动 com.example.helloandroid.HelloAndroid)。

我目前在上传应用程序方面取得了一些成功,但我需要调试器和 DDMS。任何建议将不胜感激。

I'm running the android SDK 3.0 and trying to debug with the eclipse adt plugin. My helloAndroid app is sometimes getting updated on the emulator but it never launches. There are several symptoms:

First, my console shows these messages:

[2011-03-18 08:05:26 - ddmlib]An established connection was aborted by the software in your host machine
java.io.IOException: An established connection was aborted by the software in your host machine

Secondly, the logcat view in eclipse contains lots of these messages:

03-18 12:13:13.243: INFO/jdwp(387): Ignoring second debugger -- accepting and dropping

Third, the DDMS perspective in eclipse is completely blank except for a console view.

I tried reinstalling the ADT and platforms. I tried setting up the development tools on the emulator target for debugging (Dev Tools>Development Settings> Wait for Debugger). I tried changing some of the debug configurations (manual/automatic, launch default activity, launch com.example.helloandroid.HelloAndroid).

I'm currently having some success getting the app to upload, but I need the debugger and DDMS. Any advice would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

梦在深巷 2024-10-29 12:28:22

我刚刚在 Eclipse (Linux) 中升级到 ADT 10 和 API3.0,它可以工作,但速度非常慢。我最初有几个 debuggerd 错误消息。你在 Eclipse 方面研究过这个吗?看起来像是集成问题..

I just moved up to ADT 10 and API3.0 in Eclipse (Linux) and it works, but is very slow. I had several debuggerd error messages initially. Have you researched this on the Eclipse side? It seems like an integration issue..

回首观望 2024-10-29 12:28:22

谷歌搜索android“忽略第二个调试器”表明您正在运行两个 DDMS 或两个 ADT 插件(或 Eclipse 实例)。这会阻止调试器工作。

Googling for android "Ignoring second debugger" suggests that you're running two DDMS or two ADT plugins (or Eclipse instances). This is preventing the debugger to work.

傻比既视感 2024-10-29 12:28:22

退出所有 Eclipse 实例,关闭 ddms,打开命令提示符并输入 adb Kill-server
开始日食。

当我连接 Atrix 设备时,我不断在 DDMS 控制台中收到这些消息,但是我忽略了它们。

Exit all the eclipse instances, close ddms, open command prompt and type adb kill-server
Start the eclipse.

I keep getting these messages in the DDMS console when I connect my Atrix device, however, I ignore them.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文