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

标签 android eclipse-plugin android-emulator ddms

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

首先,我的控制台显示这些消息:

[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

其次,eclipse 中的 logcat View 包含很多这样的消息:

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

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

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

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

最佳答案

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

关于android - HelloAndroid 未使用 eclipse 在模拟器上启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5352089/

相关文章:

c# - 当我旋转 Android 模拟器以将方向更改为横向模式或纵向模式时,不会调用“OnSizeAllocation”

android - 在使用改造发布多个图像文件方面需要帮助吗?

尽管在 list 中设置了 Android Studio 权限异常

Android 工具栏样式

java - 验证正则表达式 : Make sure it will match at least two characters

eclipse - Hadoop eclipse插件错误

android - R.java 文件背后的魔法

android.view.InflateException : Binary XML file line #2: Error inflating class <unknown>

eclipse - 如何更改打开视角图标?

android-emulator - Android 模拟器 GPU 模拟支持哪些显卡?