Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Honeycomb preview - can not install my app on emulator under Eclipse

Just updated SDK and SDK tools in Eclipse, tried to run my application on Honeycomb and got the following:

[2011-01-28 00:22:12 - Androzic] Uploading Androzic.apk onto device 'emulator-5554'
[2011-01-28 00:22:13 - Androzic] Installing Androzic.apk...
[2011-01-28 00:24:19 - Androzic] Failed to install Androzic.apk on device 'emulator-5554!
[2011-01-28 00:24:19 - Androzic] (null)
[2011-01-28 00:24:19 - Androzic] Failed to install Androzic.apk on device 'emulator-5554': EOF
[2011-01-28 00:24:19 - Androzic] com.android.ddmlib.InstallException: EOF
[2011-01-28 00:24:19 - Androzic] Launch canceled!

Other avd's are operating normally. Has anyone succeeded? What am I doing wrong?

like image 643
Andrey Novikov Avatar asked Jan 27 '11 21:01

Andrey Novikov


3 Answers

Got the same message. Turned out the app was installed and I could launch it from the emulator Applications screen. The Honeycomb emulator is slow and my guess is the launch command times out before the emulator is ready.

like image 76
Ton van Overbeek Avatar answered Nov 15 '22 13:11

Ton van Overbeek


Even I was facing the same issue. Thanks to Overbeek for the hint,

Yes "Ton Van Overbeek" is right.Honeycomb emulator is slow that's why you will get error like

"Failed to install .apk on device 'emulator-5554': EOF com.android.ddmlib.InstallException: EOF Launch canceled!"

Solution : Try to run the emulator separately from AVD Manager, Then after its up and running and you were able to see the Home screen, at that time you can Run you application from Eclipse IDE, targeting to this specific Emulator.Your app will run smoothly.

like image 34
Appu Avatar answered Nov 15 '22 12:11

Appu


I Got the same issue and i could resolve it.

It has created my program as an app in the emulator. So after this error comes you please directly go to the emulator and check for your app there and run it (click on it). It will run smoothly.

Hope this helps.

like image 31
BSBhat Avatar answered Nov 15 '22 14:11

BSBhat