Eclipse 在尝试启动 Android 应用程序时卡住了 [英] Eclipse gets stuck when trying to launch Android app

查看:33
本文介绍了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.

避免:

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

这篇关于Eclipse 在尝试启动 Android 应用程序时卡住了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆