Eclipse 在尝试启动 Android 应用程序时卡住了

2022-01-18 00:00:00 delegates android eclipse

我正在尝试在摩托罗拉 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.

避免:

  1. 启动 Eclipse
  2. 窗口 -> AVD 管理器
  3. 启动模拟器
  4. 运行项目

相关文章