Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse gets stuck when trying to launch Android app

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".

Which could be the reason?

like image 270
Jupiter Jones Avatar asked Feb 25 '11 14:02

Jupiter Jones


2 Answers

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).

EDIT:

Found this over at project pages as Issue #21073, answered by benpar:

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.

To avoid:

  1. Start Eclipse
  2. Window -> AVD Manager
  3. Start an emulator
  4. Run the project
like image 91
ubzack Avatar answered Nov 17 '22 10:11

ubzack


I also had this problem when running an application in the emulator. Make sure the emulator is running BEFORE launching the app and you wont have this issue.

like image 6
Johno Scott Avatar answered Nov 17 '22 12:11

Johno Scott