Eclipse gets stuck when trying to launch Android app(Eclipse 在尝试启动 Android 应用程序时卡住了)
问题描述
我正在尝试在摩托罗拉 Milestone A853 上运行 helloandroid 应用程序.我输入了adb devices",手机被正确识别.但是,当我尝试运行应用程序时,Eclipse 总是停留在 27% Launching delegate".
I'm trying to run helloandroid application on a Motorola Milestone A853. I typed "adb devices" and the mobile is properly recognized. However, when I try to run the application Eclipse always stuck at 27% "Launching delegate".
这可能是什么原因?
推荐答案
模拟器也有 27% 的问题.它只是在我删除 AVD 并重新创建后才得到修复,所以这很可能与设备/模拟器有关(而且重新启动 ADB 并没有解决问题).
Had the same 27% problem with an emulator. It only got fixed after I deleted the AVD and recreated it, so this is very likely device/emulator related (and furthermore restarting the ADB did not fix the problem).
在项目页面上发现这个问题 #21073,由 benpar 回答:
Found this over at project pages as Issue #21073, answered by benpar:
更新:如果从 Eclipse 中的 AVD 管理器启动 AVD 模拟器,也可以避免这种情况.从 Eclipse 中的运行"按钮启动第一个模拟器时会出现此问题.
Update: This scenario can also be avoided if the AVD emulator is launched from the AVD Manager within Eclipse. The issue happens when launching the first emulator from the Run button in Eclipse.
避免:
- 启动 Eclipse
- 窗口 -> AVD 管理器
- 启动模拟器
- 运行项目
这篇关于Eclipse 在尝试启动 Android 应用程序时卡住了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Eclipse 在尝试启动 Android 应用程序时卡住了
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
